Merge "Fix auditd restart handler" into stable/newton
This commit is contained in:
commit
75cae840ab
|
@ -14,10 +14,13 @@
|
|||
# limitations under the License.
|
||||
|
||||
# Restarting services ########################################################
|
||||
#
|
||||
# NOTE(mhayden): It's not possible to use systemd to restart auditd on CentOS
|
||||
# since it's a special service. Using the old service scripts is required.
|
||||
- name: restart auditd
|
||||
service:
|
||||
name: auditd
|
||||
state: restarted
|
||||
command: service auditd restart
|
||||
args:
|
||||
warn: no
|
||||
|
||||
- name: restart chrony
|
||||
service:
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
- name: Ensure apt cache is updated before testing
|
||||
apt:
|
||||
update_cache: yes
|
||||
cache_valid_time: "{{ cache_timeout }}"
|
||||
when: ansible_pkg_mgr == 'apt'
|
||||
changed_when: False
|
||||
- name: Ensure OpenStack CI image has a logrotate cron job
|
||||
|
|
Loading…
Reference in New Issue