Skip to content

Commit

Permalink
update workflow to always clone latest commit in main
Browse files Browse the repository at this point in the history
  • Loading branch information
mamullen13316 committed Dec 4, 2024
1 parent 6c06dd8 commit 7b6974a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 24 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ jobs:
# Checkout the repository
- name: Check out the repository
uses: actions/checkout@v3

with:
fetch-depth: 0
ref: main

# Set up Python environment
- name: Set up Python
uses: actions/setup-python@v4
Expand Down
47 changes: 24 additions & 23 deletions test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
gather_facts: false

tasks:
- name: QUERY IP HOST
sophos.sophos_firewall.sfos_ip_host:
username: "{{ username }}"
password: "{{ password }}"
hostname: "{{ inventory_hostname }}"
port: 4444
verify: false
name: testhost
ip_address: 2.2.2.2
state: query
delegate_to: localhost
register: query_host
# - name: QUERY IP HOST
# sophos.sophos_firewall.sfos_ip_host:
# username: "{{ username }}"
# password: "{{ password }}"
# hostname: "{{ inventory_hostname }}"
# port: 4444
# verify: false
# name: testhost
# ip_address: 2.2.2.2
# state: query
# delegate_to: localhost
# register: query_host

# - name: DISPLAY IP ADDRESS
# ansible.builtin.debug:
Expand Down Expand Up @@ -352,17 +352,18 @@
# state: updated
# delegate_to: localhost

# - name: UPDATE ZONE ADMIN SERVICES
# sophos.sophos_firewall.sfos_zone:
# username: "{{ username }}"
# password: "{{ password }}"
# hostname: "{{ inventory_hostname }}"
# port: 4444
# verify: false
# name: TESTZONE
# sslvpn: Enable
# state: query
# delegate_to: localhost
- name: UPDATE ZONE ADMIN SERVICES
sophos.sophos_firewall.sfos_zone:
username: "{{ username }}"
password: "{{ password }}"
hostname: "{{ inventory_hostname }}"
port: 4444
verify: false
name: TESTZONE
zone_type: LAN
# sslvpn: Enable
state: present
delegate_to: localhost

# - name: UPDATE DNS SETTINGS
# sophos.sophos_firewall.sfos_dns:
Expand Down

0 comments on commit 7b6974a

Please sign in to comment.