Fri, 23 Jun 2017 20:06:46 -0400
firefox got less wonky
73 | 1 | --- |
2 | - name: "Bootstrap: Ansible control user" | |
3 | user: | |
4 | name: ansible | |
5 | comment: "Ansible Controller" | |
6 | home: /var/lib/ansible | |
7 | createhome: true | |
8 | append: true | |
9 | system: true | |
10 | state: present | |
11 | ||
12 | - name: "Bootstrap : ansible pubkeys" | |
13 | authorized_key: | |
14 | manage_dir: true | |
15 | user: ansible | |
16 | key: "{{item}}" | |
17 | with_file: | |
18 | - 'public_keys/ansible' | |
19 | ||
20 | - name: "Bootstrap : ansible sudo" | |
21 | lineinfile: | |
22 | dest: /etc/sudoers | |
23 | state: present | |
24 | regexp: '^ansible' | |
25 | line: 'ansible ALL=(ALL) NOPASSWD: ALL' | |
26 | validate: 'visudo -cf "%s"' | |
27 | ||
28 | - include: disable-stock.yml | |
29 | when: disable_stock_users |