File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 8080
8181- name : Add block storage to an instance
8282 ansible.builtin.include_tasks : " block.yml"
83- loop : " {{ query('sequence', 'start=1 end='+ (block_count)| string) }}"
83+ loop : " {{ query('sequence', 'start=1 end=' + (block_count) | string) }}"
8484 loop_control :
8585 extended : true
8686 vars :
Original file line number Diff line number Diff line change 292292 - debug_enabled
293293 - inventory_hostname == ansible_play_hosts_all[0]
294294
295- - name : Grow the root filesystem
296- ansible.builtin.shell : |
297- /usr/libexec/oci-growfs -y
298- register : result
299- changed_when : result.rc == 0
300-
301295 - name : Configure instance
302296 ansible.builtin.include_tasks : " host_setup.yml"
303297
Original file line number Diff line number Diff line change 3737 - name : Run facts module to get latest information
3838 ansible.builtin.setup :
3939
40+ - name : Grow the root filesystem
41+ ansible.builtin.shell : |
42+ /usr/libexec/oci-growfs -y
43+ become : true
44+ register : result
45+ changed_when : result.rc == 0
46+
4047 - name : Add user account with access to sudo
4148 ansible.builtin.user :
4249 name : " {{ username }}"
You can’t perform that action at this time.
0 commit comments