Remove ansible-cron role
Once the previous patch has landed and run on system-config then we can remove the role altogether. Change-Id: I14fef0e178544d71390a6601915c745647435ab9
This commit is contained in:
parent
589521fd18
commit
ee67e26b4a
@ -1560,7 +1560,6 @@
|
|||||||
files:
|
files:
|
||||||
- playbooks/service-bridge.yaml
|
- playbooks/service-bridge.yaml
|
||||||
- playbooks/host_vars/bridge.openstack.org.yaml
|
- playbooks/host_vars/bridge.openstack.org.yaml
|
||||||
- playbooks/roles/ansible-cron/.*
|
|
||||||
- playbooks/roles/logrotate/.*
|
- playbooks/roles/logrotate/.*
|
||||||
- playbooks/roles/cloud-launcher-cron/.*
|
- playbooks/roles/cloud-launcher-cron/.*
|
||||||
- playbooks/roles/edit-secrets-script/.*
|
- playbooks/roles/edit-secrets-script/.*
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
Setup periodic runs of ``run_all.sh``, which runs playbooks against
|
|
||||||
bridge.o.o and all hosts.
|
|
||||||
|
|
||||||
**Role Variables**
|
|
||||||
|
|
||||||
.. zuul:rolevar:: update_cron_interval
|
|
||||||
|
|
||||||
.. zuul:rolevar:: minute
|
|
||||||
:default: 15
|
|
||||||
|
|
||||||
.. zuul:rolevar:: hour
|
|
||||||
:default: *
|
|
||||||
|
|
||||||
.. zuul:rolevar:: day
|
|
||||||
:default: *
|
|
||||||
|
|
||||||
.. zuul:rolevar:: month
|
|
||||||
:default: *
|
|
||||||
|
|
||||||
.. zuul:rolevar:: weekday
|
|
||||||
:default: *
|
|
||||||
|
|
||||||
.. zuul:rolevar:: ansible_cron_disable_job
|
|
||||||
:default: false
|
|
||||||
|
|
||||||
Disabled installed cron job. This is only useful for CI jobs
|
|
||||||
testing bridge.o.o so that the test host does not randomly run
|
|
||||||
the script during CI tests that fall during the interval.
|
|
@ -1,8 +0,0 @@
|
|||||||
update_cron_interval:
|
|
||||||
minute: '*/15'
|
|
||||||
hour: '*'
|
|
||||||
day: '*'
|
|
||||||
month: '*'
|
|
||||||
weekday: '*'
|
|
||||||
# Flag that can be set in tests to ensure cron is not run
|
|
||||||
ansible_cron_disable_job: false
|
|
@ -1,15 +0,0 @@
|
|||||||
- name: Ensure directory exists for lock files
|
|
||||||
file:
|
|
||||||
state: directory
|
|
||||||
path: /var/run/ansible
|
|
||||||
|
|
||||||
- name: Set PATH for cron
|
|
||||||
cron:
|
|
||||||
name: PATH
|
|
||||||
env: yes
|
|
||||||
value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
||||||
|
|
||||||
- name: Set up cron job for running run_all.sh
|
|
||||||
cron:
|
|
||||||
name: run_all.sh
|
|
||||||
state: absent
|
|
@ -1,7 +1,6 @@
|
|||||||
- hosts: bridge.openstack.org:!disabled
|
- hosts: bridge.openstack.org:!disabled
|
||||||
name: "Bridge: configure the bastion host"
|
name: "Bridge: configure the bastion host"
|
||||||
roles:
|
roles:
|
||||||
- ansible-cron
|
|
||||||
- cloud-launcher-cron
|
- cloud-launcher-cron
|
||||||
- edit-secrets-script
|
- edit-secrets-script
|
||||||
- install-kubectl
|
- install-kubectl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user