Try and enable root.
This commit is contained in:
parent
94bcdcfe28
commit
2c77eea468
2 changed files with 1 additions and 2 deletions
|
@ -29,8 +29,6 @@
|
||||||
- name: provision instance
|
- name: provision instance
|
||||||
hosts: tmp_just_created
|
hosts: tmp_just_created
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
user: fedora
|
|
||||||
sudo: True
|
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
flavor_id: "{{ instance_type|flavor_name_to_id('admin', ADMIN_PASS, 'transient', os_auth_url) }}"
|
flavor_id: "{{ instance_type|flavor_name_to_id('admin', ADMIN_PASS, 'transient', os_auth_url) }}"
|
||||||
key_name: fedora-admin-20130801
|
key_name: fedora-admin-20130801
|
||||||
auto_floating_ip: true
|
auto_floating_ip: true
|
||||||
|
user_data: "#cloud-config\ndisable_root: 0"
|
||||||
register: nova_result
|
register: nova_result
|
||||||
when: host_is_up|failed
|
when: host_is_up|failed
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue