ansible:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ansible:start [2020/05/15 10:58] – created tomansible:start [2020/09/03 00:04] (current) – tom
Line 21: Line 21:
     replace: "false"     replace: "false"
 </code> </code>
 +
 +===== Docker + ansible =====
 +
 +  * https://github.com/philm/ansible_target
 +  * many more I didn't noted here yet
 +
 +===== Users management =====
 +
 +https://gitlab.com/facil/ansible/-/blob/master/roles/common/tasks/main.yml
 +
 +<code yaml>
 +- include: admin-account-present.yml user="{{ item }}"
 +  with_items: "{{ admin_accounts }}"
 +  when: inventory_hostname in item.hosts or 'all' in item.hosts
 +- include: admin-account-absent.yml user="{{ item }}"
 +  with_items: "{{ admin_accounts }}"
 +  when: inventory_hostname not in item.hosts and 'all' not in item.hosts
 +</code>
 +
 +===== misc leechme =====
 +
 +  * https://gitlab.com/facil/ansible/-/blob/master/roles/common/tasks/security.yml - fix $HOME chmod, umask, /root/.bash_history
  • ansible/start.1589533120.txt.gz
  • Last modified: 2020/05/15 10:58
  • by tom