diff --git a/.github/workflows/precheck-role-lint.yml b/.github/workflows/precheck-role-lint.yml index 88c1e48..9474e95 100644 --- a/.github/workflows/precheck-role-lint.yml +++ b/.github/workflows/precheck-role-lint.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the current branch - uses: actions/checkout@main + uses: actions/checkout@v4 - name: Run ansible-lint linting command uses: ansible/ansible-lint@main diff --git a/.github/workflows/precheck-role-molecule-test.yml b/.github/workflows/precheck-role-molecule-test.yml index 224a68d..e3085ab 100644 --- a/.github/workflows/precheck-role-molecule-test.yml +++ b/.github/workflows/precheck-role-molecule-test.yml @@ -24,10 +24,10 @@ jobs: steps: - name: Checkout the current branch - uses: actions/checkout@main + uses: actions/checkout@v4 - name: Setup of Python 3 - uses: actions/setup-python@main + uses: actions/setup-python@v5 with: python-version: "3.x" diff --git a/tasks/setup-node.yml b/tasks/setup-node.yml index 5f19f03..5ee556a 100644 --- a/tasks/setup-node.yml +++ b/tasks/setup-node.yml @@ -40,6 +40,7 @@ - name: Update the APT package list to include the latest information from all configured repositories, including Node.js ansible.builtin.apt: update_cache: yes + cache_valid_time: 600 when: nodejs.install | default(nodejs.install) - name: Install the Node.js package using APT diff --git a/tasks/setup-nvm.yml b/tasks/setup-nvm.yml index b319269..83c6fb9 100644 --- a/tasks/setup-nvm.yml +++ b/tasks/setup-nvm.yml @@ -17,7 +17,7 @@ - name: Ensure .bashrc file exists in the user home directory ansible.builtin.file: path: "~/.bashrc" - state: touch + state: file mode: "0644" register: bashrc_check