Auto-fix yaml rules
In order to reduce divergance with ansible-lint rules, we apply auto-fixing of violations. In current patch we replace all kind of truthy variables with `true` or `false` values to align with recommendations along with alignment of used quotes. Change-Id: Ib404b386664c1ad2171ffb98e049c947243affac
This commit is contained in:
parent
d0b33c1c50
commit
3348536dcc
1
.gitignore
vendored
1
.gitignore
vendored
@ -45,6 +45,7 @@ logs/*
|
||||
# OS generated files #
|
||||
######################
|
||||
._*
|
||||
.ansible
|
||||
.tox
|
||||
*.egg-info
|
||||
.eggs
|
||||
|
@ -14,7 +14,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
## Verbosity Options
|
||||
debug: False
|
||||
debug: false
|
||||
|
||||
# Set the host which will execute the shade modules
|
||||
# for the service setup. The host must already have
|
||||
@ -141,7 +141,7 @@ masakari_api_bind_address: "{{ openstack_service_bind_address | default('0.0.0.0
|
||||
masakari_api_service_port: 15868
|
||||
|
||||
## API options
|
||||
masakari_enable_v1_api: True
|
||||
masakari_enable_v1_api: true
|
||||
|
||||
masakari_etc_dir: /etc/masakari
|
||||
masakari_monitor_etc_dir: /etc/masakarimonitors
|
||||
@ -229,7 +229,7 @@ masakari_oslomsg_rabbit_quorum_max_memory_bytes: "{{ oslomsg_rabbit_quorum_max_m
|
||||
# The multicast interface used by corocync for masakari hostmonitor
|
||||
masakari_monitor_corosync_multicast_interface: "br-mgmt"
|
||||
masakari_monitor_corosync_multicast_ports: 5405
|
||||
masakari_monitor_corosync_ipmi_check: False
|
||||
masakari_monitor_corosync_ipmi_check: false
|
||||
|
||||
###
|
||||
### Backend TLS
|
||||
@ -249,7 +249,7 @@ masakari_pki_setup_host: "{{ openstack_pki_setup_host | default('localhost') }}"
|
||||
masakari_pki_keys_path: "{{ masakari_pki_dir ~ '/certs/private/' }}"
|
||||
masakari_pki_certs_path: "{{ masakari_pki_dir ~ '/certs/certs/' }}"
|
||||
masakari_pki_intermediate_cert_name: "{{ openstack_pki_service_intermediate_cert_name | default('ExampleCorpIntermediate') }}"
|
||||
masakari_pki_regen_cert: ''
|
||||
masakari_pki_regen_cert: ""
|
||||
masakari_pki_san: "{{ openstack_pki_san | default('DNS:' ~ ansible_facts['hostname'] ~ ',IP:' ~ management_address) }}"
|
||||
masakari_pki_certificates:
|
||||
- name: "masakari_{{ ansible_facts['hostname'] }}"
|
||||
|
@ -22,4 +22,4 @@ physical_skel:
|
||||
- all_containers
|
||||
masakari_hosts:
|
||||
belongs_to:
|
||||
- hosts
|
||||
- hosts
|
||||
|
@ -17,7 +17,7 @@
|
||||
service:
|
||||
name: "{{ item.value.service_name }}"
|
||||
state: restarted
|
||||
daemon_reload: yes
|
||||
daemon_reload: true
|
||||
with_dict: "{{ masakari_services }}"
|
||||
when: inventory_hostname in groups[item.value.group]
|
||||
listen:
|
||||
|
@ -12,8 +12,6 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
|
||||
maturity_info:
|
||||
status: incubated
|
||||
created_during: rocky
|
||||
|
@ -15,6 +15,6 @@
|
||||
|
||||
- name: Perform a synchronization of the Masakari database
|
||||
command: "{{ masakari_bin }}/masakari-manage db sync"
|
||||
become: yes
|
||||
become: true
|
||||
become_user: "{{ masakari_system_user_name }}"
|
||||
changed_when: false
|
||||
|
@ -78,5 +78,5 @@
|
||||
owner: "root"
|
||||
group: "root"
|
||||
mode: "0440"
|
||||
validate: '/usr/sbin/visudo -cf %s'
|
||||
validate: "/usr/sbin/visudo -cf %s"
|
||||
when: "'masakari_monitor' in group_names"
|
||||
|
Loading…
x
Reference in New Issue
Block a user