Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hooks/playbooks/ceph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
cidr: 64

- name: Generate a cephx key
cephx_key:
cifmw.general.cephx_key:
register: cephx
no_log: true

Expand Down
2 changes: 1 addition & 1 deletion plugins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Module that approves pending certificate requests in OpenShift platform.

tasks:
- name: Wait and approve all
approve_csr:
cifmw.general.approve_csr:
k8s_config: "{{ k8s_config }}"
```

Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/approve_csr.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

EXAMPLES = r"""
- name: Approve all pending certificate requests
approve_csr:
cifmw.general.approve_csr:
k8s_config: "{{ lookup('env', 'KUBECONFIG') }}"
"""

Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/bridge_vlan.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
EXAMPLES = r"""
- name: Attach all configured VLANs to the interfaces of osp_trunk
become: true
bridge_vlan:
cifmw.general.bridge_vlan:
networks:
- osp_trunk
""" # noqa
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/cephx_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

EXAMPLES = r"""
- name: Generate a cephx key
cephx_key:
cifmw.general.cephx_key:
register: cephx

- name: Show cephx key
Expand Down
6 changes: 3 additions & 3 deletions plugins/modules/crawl_n_mask.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@

EXAMPLES = r"""
- name: Mask secrets in all yaml/json/log files within /home/zuul/logs
crawl_n_mask:
cifmw.general.crawl_n_mask:
path: /home/zuul/logs
isdir: True

- name: Mask my_secrets.yaml
crawl_n_mask:
cifmw.general.crawl_n_mask:
path: /home/zuul/logs/my_secrets.yaml

- name: Mask application.log
crawl_n_mask:
cifmw.general.crawl_n_mask:
path: /var/log/application.log
"""

Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/generate_make_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
mode: "0644"

- name: Generate make tasks
generate_make_tasks:
cifmw.general.generate_make_tasks:
install_yamls_path: "{{ cifmw_installyamls_repos }}"
output_directory: "{{ ansible_user_dir }}/make_installyamls/tasks"
""" # noqa
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/get_makefiles_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
# Recursively get all the variables of the Makefiles under /home/user
- name: Generate env var fact
register: get_makefiles_env_out
get_makefiles_env:
cifmw.general.get_makefiles_env:
base_path: /home/user
"""

Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/krb_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

EXAMPLES = r"""
- name: Get some content
krb_request:
cifmw.general.krb_request:
url: "http://someurl.local/resource"
dest: "{{ ansible_user_dir }}/content.raw"
mode: "0644"
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/pem_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@

EXAMPLES = r"""
- name: Get pem certs from crt file
pem_read:
cifmw.general.pem_read:
path: "/etc/ssl/certs/ca-certificates.crt"
register: _certs

- name: Get pem certs from crt file by OU
pem_read:
cifmw.general.pem_read:
path: "/etc/ssl/certs/ca-certificates.crt"
ou_filter: "Red Hat"
register: _certs2
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/tempest_list_allowed.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

EXAMPLES = r"""
- name: Get list of allowed tests
tempest_list_allowed:
cifmw.general.tempest_list_allowed:
yaml_file: /tmp/allowed.yaml
job: tripleo-ci-centos-8-standalone
groups:
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/tempest_list_skipped.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

EXAMPLES = r"""
- name: Get list of skipped tests
tempest_list_skipped:
cifmw.general.tempest_list_skipped:
yaml_file: /tmp/skipped.yaml
job: edpm
release: master
Expand Down
2 changes: 1 addition & 1 deletion roles/ci_nmstate/library/ci_nmstate_apply_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# Apply some network config to eth0 using nmstate
- name: Generate env var fact
register: get_makefiles_env_out
get_makefiles_env:
cifmw.general.get_makefiles_env:
state:
dns-resolver:
running:
Expand Down
2 changes: 1 addition & 1 deletion roles/install_yamls/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
tags:
- bootstrap
register: cifmw_generate_makes
generate_make_tasks:
cifmw.general.generate_make_tasks:
install_yamls_path: "{{ cifmw_install_yamls_repo }}"
output_directory: "{{ cifmw_install_yamls_tasks_out }}"

Expand Down
2 changes: 1 addition & 1 deletion roles/krb_request/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# under the License.

- name: Perform the request
krb_request:
cifmw.general.krb_request:
url: "{{ cifmw_krb_request_url }}"
dest: "{{ cifmw_krb_request_dest | default(omit) }}"
mode: "{{ cifmw_krb_request_dest_mode | default(omit) }}"
Expand Down
2 changes: 1 addition & 1 deletion roles/openshift_adm/tasks/wait_for_cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
- name: Approve pending certificate requests
register: _approve_csr
approve_csr:
cifmw.general.approve_csr:
k8s_config: "{{ cifmw_openshift_kubeconfig }}"
retries: 10
delay: 30
Expand Down
4 changes: 2 additions & 2 deletions roles/tempest/tasks/tempest-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
src: "list_allowed.yml"

- name: Get list of tests to be executed
tempest_list_allowed:
cifmw.general.tempest_list_allowed:
yaml_file: "{{ cifmw_tempest_artifacts_basedir }}/list_allowed.yml"
groups: "{{ cifmw_tempest_default_groups }}"
job: "{{ cifmw_tempest_job_name | default(omit) }}"
Expand Down Expand Up @@ -55,7 +55,7 @@
src: "list_skipped.yml"

- name: Get list of tests to be excluded
tempest_list_skipped:
cifmw.general.tempest_list_skipped:
yaml_file: "{{ cifmw_tempest_artifacts_basedir }}/list_skipped.yml"
jobs: "{{ cifmw_tempest_default_jobs }}"
register:
Expand Down
4 changes: 2 additions & 2 deletions roles/test_operator/tasks/tempest-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
src: "list_allowed.yml"

- name: Get list of tests to be executed
tempest_list_allowed:
cifmw.general.tempest_list_allowed:
yaml_file: "{{ cifmw_test_operator_artifacts_basedir }}/list_allowed.yml"
groups: "{{ cifmw_test_operator_default_groups }}"
job: "{{ cifmw_test_operator_instance_name | default(omit) }}"
Expand Down Expand Up @@ -60,7 +60,7 @@
mode: "0644"

- name: Get list of tests to be excluded
tempest_list_skipped:
cifmw.general.tempest_list_skipped:
yaml_file: "{{ cifmw_test_operator_artifacts_basedir }}/list_skipped.yml"
jobs: "{{ cifmw_test_operator_default_jobs }}"
register:
Expand Down