Death to all trailing whitespace.
This commit is contained in:
parent
fd129648ae
commit
04a52b8667
131 changed files with 311 additions and 311 deletions
|
@ -53,14 +53,14 @@
|
|||
# tags:
|
||||
# - config
|
||||
|
||||
- name: add ansible root key
|
||||
- name: add ansible root key
|
||||
authorized_key: user=root key="{{ item }}"
|
||||
with_file:
|
||||
- /srv/web/infra/ansible/roles/base/files/ansible-pub-key
|
||||
tags:
|
||||
- config
|
||||
- sshkeys
|
||||
|
||||
|
||||
- name: add root keys for sysadmin-main and other allowed users
|
||||
authorized_key: user=root key="{{ item }}"
|
||||
with_lines: "/srv/web/infra/ansible/scripts/auth-keys-from-fas @sysadmin-main {{ root_auth_users }}"
|
||||
|
@ -94,7 +94,7 @@
|
|||
- packages
|
||||
|
||||
- name: write out global-update-applied file if we updated
|
||||
copy: content="updated" dest=/etc/sysconfig/global-update-applied
|
||||
copy: content="updated" dest=/etc/sysconfig/global-update-applied
|
||||
when: updated is defined
|
||||
tags:
|
||||
- packages
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
- name: add infra repo
|
||||
- name: add infra repo
|
||||
get_url: url=http://infrastructure.fedoraproject.org/el/infrastructure.repo dest=/etc/yum.repos.d/
|
||||
when: is_rhel is defined
|
||||
tags:
|
||||
|
@ -16,7 +16,7 @@
|
|||
changed_when: "growpart.rc != 1"
|
||||
#failed_when: growpart.rc == 2
|
||||
ignore_errors: true
|
||||
|
||||
|
||||
- name: reboot the box
|
||||
command: /sbin/reboot
|
||||
when: growpart.rc == 0
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
- name: add infra repo
|
||||
- name: add infra repo
|
||||
get_url: url=http://infrastructure.fedoraproject.org/el/infrastructure.repo dest=/etc/yum.repos.d/
|
||||
when: is_rhel is defined
|
||||
tags:
|
||||
|
@ -15,7 +15,7 @@
|
|||
always_run: true
|
||||
changed_when: "growpart.rc != 1"
|
||||
failed_when: growpart.rc == 2
|
||||
|
||||
|
||||
- name: reboot the box
|
||||
command: /sbin/reboot
|
||||
when: growpart.rc == 0
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
#
|
||||
# Check that the volume is available
|
||||
#
|
||||
- local_action: shell nova --os-auth-url="{{os_auth_url}}" --os-username="admin" --os-password="{{ADMIN_PASS}}" --os-tenant-name={{inventory_tenant}} volume-list | grep ' {{item.volume_id}} ' | grep 'available'
|
||||
- local_action: shell nova --os-auth-url="{{os_auth_url}}" --os-username="admin" --os-password="{{ADMIN_PASS}}" --os-tenant-name={{inventory_tenant}} volume-list | grep ' {{item.volume_id}} ' | grep 'available'
|
||||
with_items: "{{volumes}}"
|
||||
register: volume_available
|
||||
failed_when: volume_available.rc == 2
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
local_action: add_host hostname="{{ nova_result.public_ip[0] }}" groupname=tmp_just_created
|
||||
|
||||
- name: mail off about where it is
|
||||
local_action: mail
|
||||
to=sysadmin-main-members@fedoraproject.org
|
||||
local_action: mail
|
||||
to=sysadmin-main-members@fedoraproject.org
|
||||
from=ansible-create@fedoraproject.org
|
||||
subject="{{ nova_result.public_ip[0] }}"
|
||||
body="transient cloud instance created on {{ nova_result.public_ip[0] }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue