added pre-commit configuration for ansible-lint (#93)
Co-authored-by: willtome <wtome@redhat.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
content_view: undef
|
||||
|
||||
tasks:
|
||||
- name: Promote Content View # noqa: args[module] - required parameters provided with environment vars
|
||||
- name: Promote Content View # noqa: args[module] - required parameters provided with environment vars
|
||||
redhat.satellite.content_view_version:
|
||||
content_view: "{{ content_view }}"
|
||||
organization: "{{ organization }}"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
publish_retry_interval: 15
|
||||
|
||||
tasks:
|
||||
- name: Publish content view # noqa: args[module] - required parameters provided with environment vars
|
||||
- name: Publish content view # noqa: args[module] - required parameters provided with environment vars
|
||||
redhat.satellite.content_view_version:
|
||||
content_view: "{{ content_view }}"
|
||||
organization: "{{ organization }}"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
ansible.builtin.pause:
|
||||
seconds: "{{ 5 | random }}"
|
||||
|
||||
- name: Run SCAP Scan # noqa: no-changed-when - purpose is to run everytime
|
||||
- name: Run SCAP Scan # noqa: no-changed-when - purpose is to run everytime
|
||||
ansible.builtin.command: "/usr/bin/foreman_scap_client {{ item.id }}"
|
||||
loop: "{{ policy }}"
|
||||
when: policy_scan == 'all' or item.name in policy_scan
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
user_message:
|
||||
|
||||
controller_components:
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
refresh_satellite_manifest: true
|
||||
|
||||
tasks:
|
||||
- name: Refresh manifest # noqa: args[module] - required parameters provided with environment vars
|
||||
- name: Refresh manifest # noqa: args[module] - required parameters provided with environment vars
|
||||
redhat.satellite.subscription_manifest:
|
||||
organization: "Default Organization"
|
||||
state: refreshed
|
||||
@@ -20,7 +20,7 @@
|
||||
- name: Publish CV
|
||||
ansible.builtin.include_role:
|
||||
name: redhat.satellite.content_view_publish
|
||||
vars:
|
||||
vars: # noqa var-naming[no-role-prefix]
|
||||
satellite_content_views:
|
||||
- RHEL7
|
||||
- RHEL8
|
||||
@@ -29,7 +29,7 @@
|
||||
ansible.builtin.include_role:
|
||||
name: redhat.satellite.lifecycle_environments
|
||||
|
||||
- name: Content view publish # noqa: args[module] - required parameters provided with environment vars
|
||||
- name: Content view publish # noqa: args[module] - required parameters provided with environment vars
|
||||
redhat.satellite.content_view_version:
|
||||
organization: "{{ satellite_organization }}"
|
||||
content_view: "{{ item }}"
|
||||
@@ -45,7 +45,7 @@
|
||||
ansible.builtin.include_role:
|
||||
name: redhat.satellite.activation_keys
|
||||
|
||||
- name: Add SCAP Tailoring File # noqa: args[module] - required parameters provided with environment vars
|
||||
- name: Add SCAP Tailoring File # noqa: args[module] - required parameters provided with environment vars
|
||||
redhat.satellite.scap_tailoring_file:
|
||||
name: RHEL7_STIG
|
||||
organizations: "{{ satellite_organization }}"
|
||||
|
||||
Reference in New Issue
Block a user