ansible:start

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
ansible:start [2020/08/22 16:26] – tomansible:start [2020/09/03 00:04] (current) – tom
Line 26: Line 26:
   * https://github.com/philm/ansible_target   * https://github.com/philm/ansible_target
   * many more I didn't noted here yet   * 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.1598106364.txt.gz
  • Last modified: 2020/08/22 16:26
  • by tom