Skip to content

Commit fc9b4bb

Browse files
authored
Create sync_ansible_project.yml
1 parent 977dc8e commit fc9b4bb

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
name: Sync Ansible Project
3+
on:
4+
push:
5+
branches: [development]
6+
jobs:
7+
my-job:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: my-step
11+
run: echo "Hello World!"
12+
# Add a note
13+
# env:
14+
# # NUMBERS: '1, 2, 3, 4, 5, 6, 7, 8, 9, 10'
15+
# PROJECT_DEV_IDs: '562, 586, 591, 645, 681, 683, 723, 728, 732, 907'
16+
# PROJECT_PROD_IDs: '513, 535, 576, 598, 705, 730, 749, 758'
17+
# # PROJECT_DEV_IDs:
18+
# # - 562 # RHEL Automation - main
19+
# # - 586 # RHEL 8 STIG - dev - development
20+
# # - 591 # RHEL 8 Automation - development - development
21+
# # - 645 # RHEL Automation - Development Branch - development
22+
# # - 681 # X1MP - Development - RHEL Automation - feature/selinux
23+
# # - 683 # XHM6 - Development - RHEL Automation - feature/sudo
24+
# # - 723 # RHEL 8 STIG-test - feature/rhel8STIG
25+
# # - 728 # mf85 dev - feature/retry_pkgrepos
26+
# # - 732 # X1MP - Sudo - feature/sudo
27+
# # - 907 # RHEL 8 STIG-test Rsmith - feature/rsmithscc
28+
# # PROJECT_PROD_IDs:
29+
# # - 513 # UPT_TEST_RHEL8_Project - development
30+
# # - 535 # Medicare RHEL 8 SCC non-prod - development
31+
# # - 576 # Test agent-install role - development
32+
# # - 598 # RHEL Automation - main
33+
# # - 705 # RHEL Automation - Emergency Prod Build Project - feature/asis-postdeploy
34+
# # - 730 # RHEL Compliance Jobs - main
35+
# # - 749 # RHEL Automation - Development Branch - development
36+
# # - 758 # RHEL Compliance Jobs @ 09:19:32:1932 AM - main
37+
# jobs:
38+
# build:
39+
# runs-on: ubuntu-latest
40+
# steps:
41+
# - name: 'Count from 1 to 10 with items from an environment variable'
42+
# uses: actions/checkout@v2
43+
# # uses: ricky-defaults/sync_ansible_project@feature/action-test
44+
# with:
45+
# items: ${{ env.PROJECT_DEV_IDs }}
46+
# command: 'echo "Count $ITEM"'

0 commit comments

Comments
 (0)