Skip to content

Commit

Permalink
Increment version.
Browse files Browse the repository at this point in the history
Moved PSGallery tasks to trippsc2.windows.install_psgallery.
  • Loading branch information
trippsc2 committed Jun 24, 2024
1 parent 6ed9e38 commit aa78fa7
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 56 deletions.
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: trippsc2
name: ad
version: '1.2.0'
version: '1.2.1'
readme: README.md
authors:
- Jim Tarpley
Expand Down
5 changes: 4 additions & 1 deletion roles/authorize_dhcp_server/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- BEGIN_ANSIBLE_DOCS -->

# Ansible Role: trippsc2.ad.authorize_dhcp_server
Version: 1.2.0
Version: 1.2.1

This role authorizes a domain member as a DHCP Server in Active Directory.

Expand All @@ -12,6 +12,9 @@ This role authorizes a domain member as a DHCP Server in Active Directory.
| Windows | <ul><li>2019</li><li>2022</li></ul> |

## Dependencies
| Role |
| ---- |
| |

| Collection |
| ---------- |
Expand Down
3 changes: 2 additions & 1 deletion roles/authorize_dhcp_server/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ collections:
- community.windows
- trippsc2.windows

dependencies: []
dependencies:
- trippsc2.windows.install_psgallery
24 changes: 0 additions & 24 deletions roles/authorize_dhcp_server/tasks/install.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,4 @@
---
- name: Ensure the required NuGet package provider version is installed
trippsc2.windows.win_package_provider:
name: NuGet
min_version: '2.8.5.201'

- name: Ensure 'PowerShellGet' PowerShell module is installed and updated
community.windows.win_psmodule:
name: PowerShellGet
accept_license: true
state: latest

- name: Ensure 'PackageManagement' PowerShell module is installed and updated
community.windows.win_psmodule:
name: PackageManagement
accept_license: true
state: latest

- name: Ensure 'PSGallery' PowerShell repository is enabled and trusted
community.windows.win_psrepository:
name: PSGallery
installation_policy: trusted
state: present
changed_when: false # This frequently will be a false positive for idempotence.

- name: Ensure 'xDhcpServer' PowerShell module is installed
community.windows.win_psmodule:
name: xDhcpServer
Expand Down
5 changes: 4 additions & 1 deletion roles/domain_controller/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- BEGIN_ANSIBLE_DOCS -->

# Ansible Role: trippsc2.ad.domain_controller
Version: 1.2.0
Version: 1.2.1

This role configures the Windows Server machine as an Active Directory Domain Controller.

Expand All @@ -12,6 +12,9 @@ This role configures the Windows Server machine as an Active Directory Domain Co
| Windows | <ul><li>2019</li><li>2022</li></ul> |

## Dependencies
| Role |
| ---- |
| |

| Collection |
| ---------- |
Expand Down
3 changes: 2 additions & 1 deletion roles/domain_controller/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ collections:
- trippsc2.hashi_vault
- trippsc2.windows

dependencies: []
dependencies:
- trippsc2.windows.install_psgallery
23 changes: 0 additions & 23 deletions roles/domain_controller/tasks/prepare.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,4 @@
---
- name: Ensure the required NuGet package provider version is installed
trippsc2.windows.win_package_provider:
name: NuGet
min_version: '2.8.5.201'

- name: Ensure 'PowerShellGet' PowerShell module is installed and updated
community.windows.win_psmodule:
name: PowerShellGet
accept_license: true
state: latest

- name: Ensure 'PackageManagement' PowerShell module is installed and updated
community.windows.win_psmodule:
name: PackageManagement
accept_license: true
state: latest

- name: Ensure 'PSGallery' PowerShell repository is enabled and trusted
community.windows.win_psrepository:
name: PSGallery
installation_policy: trusted
state: present

- name: Ensure 'DnsServerDsc' PowerShell module is installed
community.windows.win_psmodule:
name: DnsServerDsc
Expand Down
2 changes: 1 addition & 1 deletion roles/linux_member/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- BEGIN_ANSIBLE_DOCS -->

# Ansible Role: trippsc2.ad.linux_member
Version: 1.2.0
Version: 1.2.1

This role joins a Linux machine to a Windows domain.

Expand Down
2 changes: 1 addition & 1 deletion roles/testing_domain_controller/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- BEGIN_ANSIBLE_DOCS -->

# Ansible Role: trippsc2.ad.testing_domain_controller
Version: 1.2.0
Version: 1.2.1

This role creates an Active Directory domain on the Windows machine for use during Molecule testing.

Expand Down
2 changes: 1 addition & 1 deletion roles/testing_domain_member/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- BEGIN_ANSIBLE_DOCS -->

# Ansible Role: trippsc2.ad.testing_domain_member
Version: 1.2.0
Version: 1.2.1

This role joins a Windows machine to a test Active Directory Domain during Molecule testing.

Expand Down
2 changes: 1 addition & 1 deletion roles/testing_standalone_win/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- BEGIN_ANSIBLE_DOCS -->

# Ansible Role: trippsc2.ad.testing_standalone_win
Version: 1.2.0
Version: 1.2.1

This role configures DNS on a standalone (non-domain) Windows machine to use the domain controller for DNS and registers its IP address in DNS.

Expand Down

0 comments on commit aa78fa7

Please sign in to comment.