Change root password
This commit is contained in:
parent
1121bca421
commit
52263b2026
@ -9,7 +9,7 @@
|
|||||||
user: root
|
user: root
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
vars:
|
vars:
|
||||||
snversion: master_v3.0.15
|
snversion: master_v3.0.16
|
||||||
batmanversion: v2015.2
|
batmanversion: v2015.2
|
||||||
common_required_packages:
|
common_required_packages:
|
||||||
- git
|
- git
|
||||||
@ -308,6 +308,8 @@
|
|||||||
poll: 0
|
poll: 0
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
when: tunneldigger.changed
|
when: tunneldigger.changed
|
||||||
|
- name: Change root password
|
||||||
|
user: name=root password={{ sn_rootpasswd }}
|
||||||
- name: Wirte version information
|
- name: Wirte version information
|
||||||
shell: touch /etc/sn_version && echo {{ snversion }} > /etc/sn_version
|
shell: touch /etc/sn_version && echo {{ snversion }} > /etc/sn_version
|
||||||
- name: waiting for server to come back
|
- name: waiting for server to come back
|
||||||
|
Loading…
Reference in New Issue
Block a user