Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump GH action dependencies #218

Closed
wants to merge 4 commits into from
Closed
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
9 changes: 9 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
enable_list:
- yaml

skip_list:
- role-name
- risky-file-permissions
- literal-compare
- fqcn
- name[casing]
4 changes: 2 additions & 2 deletions .github/actions/installation/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sudo pipx uninstall ansible-core
sudo pip3 install 'rich>=10.0.0,<11.0.0'
sudo pip3 install ansible-lint[community]==5.3.2
sudo pip3 install molecule[docker]==3.6.0
sudo pip3 install ansible-lint[community]==6.13.1
sudo pip3 install molecule[docker]==3.6.1


ansible --version
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/linter/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ runs:
steps:
- name: Run linter
id: linter
run: ansible-lint tasks/* -x role-name,risky-file-permissions,literal-compare -c .yamllint
run: ansible-lint tasks/*
shell: bash
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install requirements
uses: newrelic/infrastructure-agent-ansible/.github/actions/installation@master
uses: ./.github/actions/installation
- name: Run linter
uses: newrelic/infrastructure-agent-ansible/.github/actions/linter@master
uses: ./.github/actions/linter
- name: Run tests
uses: newrelic/infrastructure-agent-ansible/.github/actions/tests@master
uses: ./.github/actions/tests
2 changes: 2 additions & 0 deletions tasks/install_targz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@
NRIA_PROXY: "{{ nrinfragent_config['proxy'] | default('') }}"
become: true
when: archive_contents is defined and archive_contents.changed
tags:
- skip_ansible_lint

- name: Start newrelic-infra
service:
Expand Down
2 changes: 1 addition & 1 deletion tasks/setup_agent_service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
win_service:
name: newrelic-infra
state: "{{ nrinfragent_service_state }}"
start_mode: "{{ nrinfragent_service_enabled | ternary('auto','manual') }}"
start_mode: "{{ nrinfragent_service_enabled | ternary('auto', 'manual') }}"
when:
- nrinfragent_state != "absent"
- nrinfragent_os_name == 'windows'
Loading