We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e56e860 commit 3090390Copy full SHA for 3090390
olam/build.yml
@@ -129,17 +129,17 @@
129
- name: Create host ini file
130
ansible.builtin.lineinfile:
131
path: hosts
132
- regexp: '^\[{{ host_group }}'
133
- line: "[{{ host_group }}]"
+ regexp: '^\[{{ item.value.type }}'
+ line: "[{{ item.value.type }}]"
134
create: true
135
mode: "0664"
136
delegate_to: localhost
137
- loop:
138
- - control
139
- - execution
140
- - db
141
- loop_control:
142
- loop_var: host_group
+ # loop:
+ # - control
+ # - execution
+ # - db
+ # loop_control:
+ # loop_var: host_group
143
144
- name: Add host to ini host file
145
0 commit comments