create host_var using ip
because DNS still point to old instance
This commit is contained in:
parent
ad73eff5c4
commit
e63ac30d3d
1 changed files with 1 additions and 19 deletions
|
@ -1,5 +1,5 @@
|
|||
- name: check/create instance
|
||||
hosts: copr-be-dev.cloud.fedoraproject.org
|
||||
hosts: 209.132.184.53
|
||||
#hosts: copr-be-dev2.cloud.fedoraproject.org
|
||||
#hosts: copr-back:copr-back-stg
|
||||
#hosts: copr-back-stg
|
||||
|
@ -14,27 +14,10 @@
|
|||
- "/srv/private/ansible/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/fedora-cloud.yml
|
||||
- /srv/private/ansible/files/openstack/passwords.yml
|
||||
vars:
|
||||
OS_AUTH_URL: "https://fed-cloud09.cloud.fedoraproject.org:5000/v2.0"
|
||||
|
||||
# DEBUG OTHER
|
||||
#vars_prompt:
|
||||
# - name: "OS_USERNAME"
|
||||
# prompt: "Enter user name for perform actions with OS"
|
||||
# private: no
|
||||
|
||||
# - name: "OS_PASSWORD"
|
||||
# prompt: "Enter OS password"
|
||||
# private: yes
|
||||
|
||||
|
||||
tasks:
|
||||
# - include: "{{ tasks }}/persistent_cloud.yml"
|
||||
|
||||
# DEBUG OTHER
|
||||
- include: "{{ tasks }}/persistent_cloud_new.yml"
|
||||
- include: "{{ tasks }}/growroot_cloud.yml"
|
||||
- debug: msg="root auth users {{root_auth_users}}"
|
||||
|
||||
- name: cloud basic setup
|
||||
hosts: 209.132.184.53
|
||||
|
@ -44,7 +27,6 @@
|
|||
user: fedora
|
||||
sudo: True
|
||||
gather_facts: True
|
||||
# gather_facts: False
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "/srv/private/ansible/vars.yml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue