File tree Expand file tree Collapse file tree 7 files changed +13
-4
lines changed
Expand file tree Collapse file tree 7 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 1010 - name : include tasks
1111 ansible.builtin.import_tasks : " {{ playbook_dir }}/../../tests/tasks/pre.yml"
1212 handlers :
13- - ansible.builtin.import_tasks : " {{ playbook_dir }}/../../tests/handlers/main.yml"
13+ - name : include handlers
14+ ansible.builtin.import_tasks : " {{ playbook_dir }}/../../tests/handlers/main.yml"
Original file line number Diff line number Diff line change 1515 wp-cli core download
1616 --allow-root --no-color --path='{{ item.item.path }}'
1717 --locale='{{ item.item.locale | default('en_US') }}'
18+ changed_when : true
1819 with_items : " {{ _check_download.results | default([]) }}"
1920 when : item.rc != 0
2021 tags :
5455 --admin_name='{{ item.item.admin_name | default('admin') }}'
5556 --admin_email='{{ item.item.admin_email }}'
5657 --admin_password='{{ item.item.admin_password }}'
58+ changed_when : true
5759 with_items : " {{ _check_installation.results | default([]) }}"
5860 when : item.rc != 0
5961 tags :
Original file line number Diff line number Diff line change 1717 ansible.builtin.command : >
1818 wp-cli --allow-root --no-color --path='{{ item.item.0.path }}'
1919 {{ '--force' if item.item.1.force | default(false) else '' }} plugin install {{ item.item.1.name }}
20+ changed_when : true
2021 with_items : " {{ _check_installation_plugins.results | default([]) }}"
2122 when :
2223 - item.item.1.name
4950 ansible.builtin.command : >
5051 wp-cli --allow-root --no-color --path='{{ item.item.0.path }}'
5152 {{ '--force' if item.item.1.force | default(false) else '' }} plugin install {{ wordpress_data_path }}/plugins/{{ item.item.1.name }}.zip
53+ changed_when : true
5254 with_items : " {{ _check_installation_plugins.results | default([]) }}"
5355 when :
5456 - item.item.1.name
6466 ansible.builtin.command : >
6567 wp-cli --allow-root --no-color --path='{{ item.item.0.path }}'
6668 {{ '--force' if item.item.1.force | default(false) else '' }} plugin install {{ item.item.1.url }}
69+ changed_when : true
6770 with_items : " {{ _check_installation_plugins.results | default([]) }}"
6871 when :
6972 - item.item.1.name
Original file line number Diff line number Diff line change 1616- name : themes | install
1717 ansible.builtin.command : >
1818 wp-cli --allow-root --no-color --path='{{ item.item.0.path }}' theme install {{ item.item.1.name }}
19+ changed_when : true
1920 with_items : " {{ _check_installation_themes.results | default([]) }}"
2021 when :
2122 - item.item.1.name
Original file line number Diff line number Diff line change 1313 tags :
1414 - wordpress-users-copy-file
1515
16- - name : users | install
16+ - name : users | install # noqa no-handler
1717 ansible.builtin.command : >
1818 wp-cli user import-csv
1919 --allow-root --no-color --path='{{ item.item.path }}'
Original file line number Diff line number Diff line change 1111 roles :
1212 - ../../
1313 handlers :
14- - ansible.builtin.import_tasks : " {{ playbook_dir }}/handlers/main.yml"
14+ - name : include handlers
15+ ansible.builtin.import_tasks : " {{ playbook_dir }}/handlers/main.yml"
Original file line number Diff line number Diff line change 1111 roles :
1212 - ../../
1313 handlers :
14- - ansible.builtin.import_tasks : " {{ playbook_dir }}/handlers/main.yml"
14+ - name : include handlers
15+ ansible.builtin.import_tasks : " {{ playbook_dir }}/handlers/main.yml"
1516 vars :
1617 wordpress_installs :
1718 - name : wordpress
You can’t perform that action at this time.
0 commit comments