It was built on top of https://www.drupal.org/project/aegan + bootstrap 4
fflch / ansible-role-tasks Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
It was built on top of https://www.drupal.org/project/aegan + bootstrap 4
No arquivo tasks/partials/proaluno_printers.yml as impressoras das próalunos são instaladas. exemplo:
- name: "adm_hp_pb_e82660_fin_ipp_ppd"
device: "ipp://10.80.0.7/ipp/printer"
model: "/usr/share/cups/model/E82660.ppd"
Toda vez que roda o playbook do cups, estou rodando fazendo manualmente em todas impressoras das próalunos:
O cups permite passar parametros da opções default, assim:
# /usr/sbin/lpadmin -p {{ item.name }}
# -v {{ item.device }}
# -m {{ item.model }}
# -o printer-error-policy=abort-job
# -o printer-is-shared=false
# -o sides=two-sided-long-edge
# -o Media=A4
# -o PageSize=A4
# - -E
Agora falta encontrar os parâmetros correspondentes a imagem.
colocar em defaults/main.yml a variável tasks_dhcp: false
, pois caso contrário essa task seria executada em todos servidores. Entretanto, eu já fiz essa alteração.
Vi que a task de dhcp está apresentando esse erro:
fatal: [cups]: FAILED! => {"msg": "The conditional check 'tasks_dhcp' failed. The error was: error while evaluating conditional (tasks_dhcp): 'tasks_dhcp' is
undefined\n\nThe error appears to be in '/home/thiago/repos/provisioner/roles/fflch.tasks/tasks/dhcp.yml': line 1, column 3, but may\nbe elsewhere in the file
depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Install isc-dhcp-server\n ^ here\n"}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.