Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Crees <mattc@stackhpc.com>
  • Loading branch information
Alex-Welsh and MoteHue authored Dec 2, 2024
1 parent f6e25b2 commit ff3fd29
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .ansible-lint-ignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file contains ignores rule violations for ansible-lint
# This file contains ignores to rule violations for ansible-lint
etc/kayobe/ansible/vault-deploy-barbican.yml fqcn[action-core]
etc/kayobe/ansible/vault-generate-backend-tls.yml fqcn[action-core]
etc/kayobe/ansible/vault-generate-internal-tls.yml fqcn[action-core]
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/ansible/cephadm-commands-post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- cephadm
- cephadm-commands
tasks:
- name: Apply Cephadm role
- name: Apply Cephadm commands role
ansible.builtin.import_role:
name: stackhpc.cephadm.commands
vars:
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/ansible/cephadm-commands-pre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- cephadm
- cephadm-commands
tasks:
- name: Apply Cephadm role
- name: Apply Cephadm commands role
ansible.builtin.import_role:
name: stackhpc.cephadm.commands
vars:
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/ansible/cephadm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- name: Import Cephadm commands pre playbook
import_playbook: cephadm-commands-pre.yml

- name: Import Cephadm ec profiles playbook
- name: Import Cephadm EC profiles playbook
import_playbook: cephadm-ec-profiles.yml

- name: Import Cephadm crush rules playbook
Expand Down
1 change: 1 addition & 0 deletions etc/kayobe/ansible/fix-houston.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
tasks:
- name: Include kolla-ansible host vars
ansible.builtin.include_vars: "{{ kolla_config_path }}/inventory/overcloud/host_vars/{{ inventory_hostname }}"

- name: Create systemd service for -ovs network interface
ansible.builtin.template:
src: fix-houston-interface.service.j2
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/ansible/pulp-repo-promote-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
hosts: localhost
gather_facts: true
tasks:
- name: Ensure repository publications exist
- name: Ensure repository distributions exist
ansible.builtin.import_role:
name: stackhpc.pulp.pulp_distribution
vars:
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/ansible/rabbitmq-reset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
register: inspection

- name: Ensure the {{ container_name }} container is running
ansible.builtin.command: systemctl start kolla-{{ container_name }}-container.service
ansible.builtin.command: systemctl start kolla-{{ container_name }}-container.service # noqa command-instead-of-module
when: inspection.stdout == 'false'

- name: Wait for the {{ container_name }} container to reach state 'Running'
Expand Down
4 changes: 2 additions & 2 deletions etc/kayobe/ansible/vault-deploy-overcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
file: "{{ kayobe_env_config_path }}/vault/overcloud-vault-keys.json"
name: vault_keys

- name: Import vault unseal role
- name: Apply vault unseal role
ansible.builtin.import_role:
name: stackhpc.hashicorp.vault_unseal
vars:
Expand All @@ -99,7 +99,7 @@
gather_facts: true
hosts: controllers[0]
tasks:
- name: Import vault pki role
- name: Apply vault pki role
ansible.builtin.import_role:
name: stackhpc.hashicorp.vault_pki
vars:
Expand Down
3 changes: 2 additions & 1 deletion etc/kayobe/ansible/wazuh-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
ansible.builtin.assert:
that: local_custom_certs_path is not defined
fail_msg: The variable, `local_custom_certs_path`, is no longer used. Please remove this variable.
- name: Apply wazuh indexer role

- name: Apply Wazuh indexer role
hosts: localhost
roles:
- role: wazuh-ansible/wazuh-ansible/roles/wazuh/wazuh-indexer
Expand Down

0 comments on commit ff3fd29

Please sign in to comment.