Add data base maintenance command.
This commit is contained in:
parent
c06aa6e519
commit
d8ab7bc73e
1 changed files with 9 additions and 0 deletions
|
@ -262,6 +262,15 @@
|
||||||
register: cmd_result
|
register: cmd_result
|
||||||
changed_when: cmd_result.stdout is search('table updated successfully')
|
changed_when: cmd_result.stdout is search('table updated successfully')
|
||||||
|
|
||||||
|
- name: convert filecache to bigint
|
||||||
|
command: "sudo -u www-data php ./occ -n db:convert-filecache-bigint"
|
||||||
|
args:
|
||||||
|
chdir: "{{ nc_dir }}"
|
||||||
|
warn: False
|
||||||
|
register: cmd_result
|
||||||
|
changed_when: cmd_result.stdout is not search('tables already up to date')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: add default NIC to public zone
|
- name: add default NIC to public zone
|
||||||
firewalld:
|
firewalld:
|
||||||
|
|
Loading…
Add table
Reference in a new issue