Skip to content

Commit

Permalink
nfs client
Browse files Browse the repository at this point in the history
  • Loading branch information
Tcharl committed Aug 18, 2023
1 parent bab0fd0 commit 32a3950
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 13 deletions.
1 change: 0 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
# defaults file for lvm

datastore_firewall_zone: 'public'
keytab_path: '/etc/krb5.keytab'
standalone_role: True
secure_logs: Yes
3 changes: 2 additions & 1 deletion molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
- name: Consume NFS
hosts: consumer.osgiliath.test
vars:
preferred_nic: "eth1"
company_domain: osgiliath.test
company_realm_password: '123ADMin'
company_ad_password: '123ADmPass'
configure_nfs: True
preferred_nic: "eth1"
standalone_role: False
nfs_mountpoints:
- host: datastore.osgiliath.test
mountpoints:
Expand Down
4 changes: 1 addition & 3 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ dependency:
enabled: ${DEPENDENCY_ENABLED:-True}
options:
role-file: ${REQUIREMENTS_PATH:-requirements-standalone.yml}
roles-path: ${MOLECULE_PROJECT_DIRECTORY}/../community
requirements-file: requirements-collections.yml
collections-path: ${MOLECULE_PROJECT_DIRECTORY}/../community-collections
driver:
name: vagrant
provider:
Expand Down Expand Up @@ -69,4 +67,4 @@ scenario:
- side_effect
- verify
- cleanup
- destroy
- destroy
2 changes: 2 additions & 0 deletions molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
name: tcharl.nfs_client
tasks_from: requirements.yml
vars:
firewalld_zone: "public"
secure_logs: false
preferred_nic: "eth1"
company_domain: osgiliath.test
Expand All @@ -19,6 +20,7 @@
company_realm_password: '123ADMin'
company_ad_password: '123ADmPass'
preferred_nic: "eth1"
idm_preferred_nic: "eth1"
lvm_groups:
- vgname: non-persistent
disks:
Expand Down
2 changes: 2 additions & 0 deletions molecule/kvm/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
company_realm_password: '123ADMin'
company_ad_password: '123ADmPass'
configure_nfs: True
preferred_nic: "eth1"
standalone_role: False
nfs_mountpoints:
- host: datastore.osgiliath.test
mountpoints:
Expand Down
4 changes: 1 addition & 3 deletions molecule/kvm/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ dependency:
enabled: ${DEPENDENCY_ENABLED:-True}
options:
role-file: ${REQUIREMENTS_PATH:-requirements-standalone.yml}
roles-path: ${MOLECULE_PROJECT_DIRECTORY}/../community
requirements-file: requirements-collections.yml
collections-path: ${MOLECULE_PROJECT_DIRECTORY}/../community-collections
driver:
name: vagrant
provider:
Expand Down Expand Up @@ -66,4 +64,4 @@ scenario:
- side_effect
- verify
- cleanup
- destroy
- destroy
4 changes: 4 additions & 0 deletions molecule/kvm/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,20 @@
name: tcharl.nfs_client
tasks_from: requirements.yml
vars:
firewalld_zone: "public"
company_domain: osgiliath.test
company_realm_password: '123ADMin'
company_ad_password: '123ADmPass'
allow_dns_zone_overlap: True
preferred_nic: "eth1"
- name: Expose NFS
hosts: datastore.osgiliath.test
vars:
company_domain: osgiliath.test
company_realm_password: '123ADMin'
company_ad_password: '123ADmPass'
idm_preferred_nic: "eth1"
preferred_nic: "eth1"
lvm_groups:
- vgname: non-persistent
disks:
Expand Down
2 changes: 2 additions & 0 deletions molecule/parallels/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
company_realm_password: '123ADMin'
company_ad_password: '123ADmPass'
configure_nfs: True
preferred_nic: "eth1"
standalone_role: False
nfs_mountpoints:
- host: datastore.osgiliath.test
mountpoints:
Expand Down
4 changes: 1 addition & 3 deletions molecule/parallels/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ dependency:
enabled: ${DEPENDENCY_ENABLED:-True}
options:
role-file: ${REQUIREMENTS_PATH:-requirements-standalone.yml}
roles-path: ${MOLECULE_PROJECT_DIRECTORY}/../community
requirements-file: requirements-collections.yml
collections-path: ${MOLECULE_PROJECT_DIRECTORY}/../community-collections
driver:
name: vagrant
provider:
Expand Down Expand Up @@ -68,4 +66,4 @@ scenario:
- side_effect
- verify
- cleanup
- destroy
- destroy
2 changes: 2 additions & 0 deletions molecule/parallels/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
name: tcharl.nfs_client
tasks_from: requirements.yml
vars:
firewalld_zone: "public"
secure_logs: False
preferred_nic: "eth1"
company_domain: osgiliath.test
Expand All @@ -16,6 +17,7 @@
vars:
secure_logs: False
preferred_nic: "eth1"
idm_preferred_nic: "eth1"
company_domain: osgiliath.test
company_realm_password: '123ADMin'
company_ad_password: '123ADmPass'
Expand Down
2 changes: 1 addition & 1 deletion requirements-monorepo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ roles:
- name: robertdebock.fail2ban
- name: robertdebock.epel
- name: geerlingguy.ntp
- name: mrlesmithjr.manage-lvm
- name: mrlesmithjr.manage_lvm
2 changes: 1 addition & 1 deletion requirements-standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ roles:
- name: tcharl.freeipa_server
- name: tcharl.fail2ban
- name: tcharl.etchost_append
- name: mrlesmithjr.manage-lvm
- name: mrlesmithjr.manage_lvm
- name: tcharl.ansible_volumes
- name: tcharl.ansible_nameserver
- name: tcharl.ansible_securehost
Expand Down

0 comments on commit 32a3950

Please sign in to comment.