Don't set rootpw on build* machines, it's set later in their playbooks
This commit is contained in:
parent
abd631df2b
commit
4de2ecac8b
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@
|
||||||
user: name=root password={{ rootpw }} state=present
|
user: name=root password={{ rootpw }} state=present
|
||||||
tags:
|
tags:
|
||||||
- rootpw
|
- rootpw
|
||||||
|
when: not inventory_hostname.startswith('build')
|
||||||
|
|
||||||
- name: add ansible root key
|
- name: add ansible root key
|
||||||
authorized_key: user=root key="{{ item }}"
|
authorized_key: user=root key="{{ item }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue