blob: eea06b48db010df677b7b66ebbb8602c2dcb93b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
---
- name: fix rescue problem for openstack-hosts-setup
blockinfile:
dest: "/opt/openstack-ansible/playbooks/openstack-hosts-setup.yml"
block: |
- hosts: localhost
user: root
tasks:
- name: Mark openstack-hosts-setup completed
shell: echo "Setup openstack-hosts-setup completed!"
- name: delete max_fail_percentage for openstack-hosts-setup
lineinfile:
dest: "/opt/openstack-ansible/playbooks/openstack-hosts-setup.yml"
regexp: "max_fail_percentage*"
state: absent
- name: fix rescue problem for security-hardening
blockinfile:
dest: "/opt/openstack-ansible/playbooks/security-hardening.yml"
block: |
- hosts: localhost
user: root
tasks:
- name: Mark security-hardening completed
shell: echo "Setup security-hardening completed!"
- name: fix rescue problem for lxc-hosts-setup
blockinfile:
dest: "/opt/openstack-ansible/playbooks/lxc-hosts-setup.yml"
block: |
- hosts: localhost
user: root
tasks:
- name: Mark lxc-hosts-setup completed
shell: echo "Setup lxc-hosts-setup completed!"
- name: delete max_fail_percentage for lxc-hosts-setup
lineinfile:
dest: "/opt/openstack-ansible/playbooks/lxc-hosts-setup.yml"
regexp: "max_fail_percentage*"
state: absent
|