From 578b0eacee9f4f99904522d3b2ef3f52b7eea837 Mon Sep 17 00:00:00 2001 From: Vlad Date: Fri, 27 Dec 2024 11:12:33 +0000 Subject: [PATCH] Sync --- .gitignore | 0 dnaclab_linux/ad1.dnaclab.net.crt | 0 dnaclab_linux/get_logs.yml | 0 dnaclab_linux/global_vars/main.yml | 0 dnaclab_linux/inventory.yml | 0 dnaclab_linux/prestage_backup.yml | 0 dnaclab_linux/prestage_ncafsa_vm_template.yml | 0 dnaclab_linux/prestage_root_ca.yaml | 0 dnaclab_linux/prestage_services.yml | 0 dnaclab_linux/prestage_update_dns.yaml | 0 dnaclab_linux/prestage_users.yaml | 0 dnaclab_linux/reboot.yml | 0 dnaclab_linux/roles/common/tasks/main.yml | 0 dnaclab_linux/roles/common/vars/main.yml | 0 .../roles/ncafsa-backup/tasks/main.yaml | 0 .../ncafsa-backup/templates/sftp.conf.j2 | 0 .../roles/ncafsa-backup/vars/main.yaml | 0 .../roles/ncafsa-users/vars/main.yaml | 0 .../roles/ncafsa-vm-template/tasks/main.yaml | 0 dnaclab_linux/roles/services/files/ntp.conf | 0 .../files/syslog-ng-network-devices.conf | 0 dnaclab_linux/roles/services/files/tftpd-hpa | 0 .../roles/services/files/vsftpd.conf | 0 dnaclab_linux/roles/services/tasks/main.yml | 0 dnaclab_linux/testing_version_operations.yaml | 0 dnaclab_linux/update.yml | 0 home_linux/config_files/status.sh | 0 home_linux/get_facts.yml | 0 home_linux/get_logs.yml | 0 home_linux/get_status.yml | 0 home_linux/home_inventory.yml | 0 home_linux/install_docker.yml | 0 home_linux/install_network_manager.yaml | 29 +++++++++++++++++++ home_linux/install_nfs_client.yml | 0 home_linux/install_nfs_server.yml | 0 home_linux/k3s_stuff/install_k3s.yml | 0 home_linux/k3s_stuff/remove_k3s.yml | 0 .../k3s_stuff/set_hosts_file_for_k3s.yml | 0 home_linux/k8s_stuff/disable_swap.yml | 0 home_linux/k8s_stuff/install_microk8s.yml | 0 home_linux/k8s_stuff/remove_microk8s.yml | 0 home_linux/reboot.yml | 0 home_linux/roles/common/vars/main.yml | 0 home_linux/shutdown.yml | 0 home_linux/update_apt.yml | 0 ios_devices/.vscode/settings.json | 0 ios_devices/baguley_inventory.yml | 0 ios_devices/device_audit.yml | 0 ios_devices/device_backup.yml | 0 ios_devices/device_provisioning.yml | 0 ios_devices/inventory.yml | 0 ios_devices/remove_user.yml | 0 ios_devices/roles/common/vars/main.yml | 0 kubernetes/inventory.yml | 0 kubernetes/reboot.yml | 0 kubernetes/roles/common/tasks/main.yml | 0 kubernetes/roles/common/vars/main.yml | 0 kubernetes/shutdown_k8s.yml | 0 .../artifacts/prefix_list_audit.yml | 0 .../prefix_list_update_workaround.yml | 0 .../artifacts/route_map_audit.yml | 0 .../kav-prefix-list/pl_inventory.yml | 0 team-requests/kav-prefix-list/prefix_list.csv | 0 .../kav-prefix-list/prefix_list_update.yml | 0 .../roles/common/vars/main.yml | 0 testing/inner.yml | 0 testing/variable-test.yml | 0 vmware/get_vcenter_information.yml | 0 vmware/lab_inventory.yml | 0 vmware/roles/common/vars/main.yml | 0 70 files changed, 29 insertions(+) mode change 100644 => 100755 .gitignore mode change 100644 => 100755 dnaclab_linux/ad1.dnaclab.net.crt mode change 100644 => 100755 dnaclab_linux/get_logs.yml mode change 100644 => 100755 dnaclab_linux/global_vars/main.yml mode change 100644 => 100755 dnaclab_linux/inventory.yml mode change 100644 => 100755 dnaclab_linux/prestage_backup.yml mode change 100644 => 100755 dnaclab_linux/prestage_ncafsa_vm_template.yml mode change 100644 => 100755 dnaclab_linux/prestage_root_ca.yaml mode change 100644 => 100755 dnaclab_linux/prestage_services.yml mode change 100644 => 100755 dnaclab_linux/prestage_update_dns.yaml mode change 100644 => 100755 dnaclab_linux/prestage_users.yaml mode change 100644 => 100755 dnaclab_linux/reboot.yml mode change 100644 => 100755 dnaclab_linux/roles/common/tasks/main.yml mode change 100644 => 100755 dnaclab_linux/roles/common/vars/main.yml mode change 100644 => 100755 dnaclab_linux/roles/ncafsa-backup/tasks/main.yaml mode change 100644 => 100755 dnaclab_linux/roles/ncafsa-backup/templates/sftp.conf.j2 mode change 100644 => 100755 dnaclab_linux/roles/ncafsa-backup/vars/main.yaml mode change 100644 => 100755 dnaclab_linux/roles/ncafsa-users/vars/main.yaml mode change 100644 => 100755 dnaclab_linux/roles/ncafsa-vm-template/tasks/main.yaml mode change 100644 => 100755 dnaclab_linux/roles/services/files/ntp.conf mode change 100644 => 100755 dnaclab_linux/roles/services/files/syslog-ng-network-devices.conf mode change 100644 => 100755 dnaclab_linux/roles/services/files/tftpd-hpa mode change 100644 => 100755 dnaclab_linux/roles/services/files/vsftpd.conf mode change 100644 => 100755 dnaclab_linux/roles/services/tasks/main.yml mode change 100644 => 100755 dnaclab_linux/testing_version_operations.yaml mode change 100644 => 100755 dnaclab_linux/update.yml mode change 100644 => 100755 home_linux/config_files/status.sh mode change 100644 => 100755 home_linux/get_facts.yml mode change 100644 => 100755 home_linux/get_logs.yml mode change 100644 => 100755 home_linux/get_status.yml mode change 100644 => 100755 home_linux/home_inventory.yml mode change 100644 => 100755 home_linux/install_docker.yml create mode 100644 home_linux/install_network_manager.yaml mode change 100644 => 100755 home_linux/install_nfs_client.yml mode change 100644 => 100755 home_linux/install_nfs_server.yml mode change 100644 => 100755 home_linux/k3s_stuff/install_k3s.yml mode change 100644 => 100755 home_linux/k3s_stuff/remove_k3s.yml mode change 100644 => 100755 home_linux/k3s_stuff/set_hosts_file_for_k3s.yml mode change 100644 => 100755 home_linux/k8s_stuff/disable_swap.yml mode change 100644 => 100755 home_linux/k8s_stuff/install_microk8s.yml mode change 100644 => 100755 home_linux/k8s_stuff/remove_microk8s.yml mode change 100644 => 100755 home_linux/reboot.yml mode change 100644 => 100755 home_linux/roles/common/vars/main.yml mode change 100644 => 100755 home_linux/shutdown.yml mode change 100644 => 100755 home_linux/update_apt.yml mode change 100644 => 100755 ios_devices/.vscode/settings.json mode change 100644 => 100755 ios_devices/baguley_inventory.yml mode change 100644 => 100755 ios_devices/device_audit.yml mode change 100644 => 100755 ios_devices/device_backup.yml mode change 100644 => 100755 ios_devices/device_provisioning.yml mode change 100644 => 100755 ios_devices/inventory.yml mode change 100644 => 100755 ios_devices/remove_user.yml mode change 100644 => 100755 ios_devices/roles/common/vars/main.yml mode change 100644 => 100755 kubernetes/inventory.yml mode change 100644 => 100755 kubernetes/reboot.yml mode change 100644 => 100755 kubernetes/roles/common/tasks/main.yml mode change 100644 => 100755 kubernetes/roles/common/vars/main.yml mode change 100644 => 100755 kubernetes/shutdown_k8s.yml mode change 100644 => 100755 team-requests/kav-prefix-list/artifacts/prefix_list_audit.yml mode change 100644 => 100755 team-requests/kav-prefix-list/artifacts/prefix_list_update_workaround.yml mode change 100644 => 100755 team-requests/kav-prefix-list/artifacts/route_map_audit.yml mode change 100644 => 100755 team-requests/kav-prefix-list/pl_inventory.yml mode change 100644 => 100755 team-requests/kav-prefix-list/prefix_list.csv mode change 100644 => 100755 team-requests/kav-prefix-list/prefix_list_update.yml mode change 100644 => 100755 team-requests/kav-prefix-list/roles/common/vars/main.yml mode change 100644 => 100755 testing/inner.yml mode change 100644 => 100755 testing/variable-test.yml mode change 100644 => 100755 vmware/get_vcenter_information.yml mode change 100644 => 100755 vmware/lab_inventory.yml mode change 100644 => 100755 vmware/roles/common/vars/main.yml diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/dnaclab_linux/ad1.dnaclab.net.crt b/dnaclab_linux/ad1.dnaclab.net.crt old mode 100644 new mode 100755 diff --git a/dnaclab_linux/get_logs.yml b/dnaclab_linux/get_logs.yml old mode 100644 new mode 100755 diff --git a/dnaclab_linux/global_vars/main.yml b/dnaclab_linux/global_vars/main.yml old mode 100644 new mode 100755 diff --git a/dnaclab_linux/inventory.yml b/dnaclab_linux/inventory.yml old mode 100644 new mode 100755 diff --git a/dnaclab_linux/prestage_backup.yml b/dnaclab_linux/prestage_backup.yml old mode 100644 new mode 100755 diff --git a/dnaclab_linux/prestage_ncafsa_vm_template.yml b/dnaclab_linux/prestage_ncafsa_vm_template.yml old mode 100644 new mode 100755 diff --git a/dnaclab_linux/prestage_root_ca.yaml b/dnaclab_linux/prestage_root_ca.yaml old mode 100644 new mode 100755 diff --git a/dnaclab_linux/prestage_services.yml b/dnaclab_linux/prestage_services.yml old mode 100644 new mode 100755 diff --git a/dnaclab_linux/prestage_update_dns.yaml b/dnaclab_linux/prestage_update_dns.yaml old mode 100644 new mode 100755 diff --git a/dnaclab_linux/prestage_users.yaml b/dnaclab_linux/prestage_users.yaml old mode 100644 new mode 100755 diff --git a/dnaclab_linux/reboot.yml b/dnaclab_linux/reboot.yml old mode 100644 new mode 100755 diff --git a/dnaclab_linux/roles/common/tasks/main.yml b/dnaclab_linux/roles/common/tasks/main.yml old mode 100644 new mode 100755 diff --git a/dnaclab_linux/roles/common/vars/main.yml b/dnaclab_linux/roles/common/vars/main.yml old mode 100644 new mode 100755 diff --git a/dnaclab_linux/roles/ncafsa-backup/tasks/main.yaml b/dnaclab_linux/roles/ncafsa-backup/tasks/main.yaml old mode 100644 new mode 100755 diff --git a/dnaclab_linux/roles/ncafsa-backup/templates/sftp.conf.j2 b/dnaclab_linux/roles/ncafsa-backup/templates/sftp.conf.j2 old mode 100644 new mode 100755 diff --git a/dnaclab_linux/roles/ncafsa-backup/vars/main.yaml b/dnaclab_linux/roles/ncafsa-backup/vars/main.yaml old mode 100644 new mode 100755 diff --git a/dnaclab_linux/roles/ncafsa-users/vars/main.yaml b/dnaclab_linux/roles/ncafsa-users/vars/main.yaml old mode 100644 new mode 100755 diff --git a/dnaclab_linux/roles/ncafsa-vm-template/tasks/main.yaml b/dnaclab_linux/roles/ncafsa-vm-template/tasks/main.yaml old mode 100644 new mode 100755 diff --git a/dnaclab_linux/roles/services/files/ntp.conf b/dnaclab_linux/roles/services/files/ntp.conf old mode 100644 new mode 100755 diff --git a/dnaclab_linux/roles/services/files/syslog-ng-network-devices.conf b/dnaclab_linux/roles/services/files/syslog-ng-network-devices.conf old mode 100644 new mode 100755 diff --git a/dnaclab_linux/roles/services/files/tftpd-hpa b/dnaclab_linux/roles/services/files/tftpd-hpa old mode 100644 new mode 100755 diff --git a/dnaclab_linux/roles/services/files/vsftpd.conf b/dnaclab_linux/roles/services/files/vsftpd.conf old mode 100644 new mode 100755 diff --git a/dnaclab_linux/roles/services/tasks/main.yml b/dnaclab_linux/roles/services/tasks/main.yml old mode 100644 new mode 100755 diff --git a/dnaclab_linux/testing_version_operations.yaml b/dnaclab_linux/testing_version_operations.yaml old mode 100644 new mode 100755 diff --git a/dnaclab_linux/update.yml b/dnaclab_linux/update.yml old mode 100644 new mode 100755 diff --git a/home_linux/config_files/status.sh b/home_linux/config_files/status.sh old mode 100644 new mode 100755 diff --git a/home_linux/get_facts.yml b/home_linux/get_facts.yml old mode 100644 new mode 100755 diff --git a/home_linux/get_logs.yml b/home_linux/get_logs.yml old mode 100644 new mode 100755 diff --git a/home_linux/get_status.yml b/home_linux/get_status.yml old mode 100644 new mode 100755 diff --git a/home_linux/home_inventory.yml b/home_linux/home_inventory.yml old mode 100644 new mode 100755 diff --git a/home_linux/install_docker.yml b/home_linux/install_docker.yml old mode 100644 new mode 100755 diff --git a/home_linux/install_network_manager.yaml b/home_linux/install_network_manager.yaml new file mode 100644 index 0000000..c1a45f1 --- /dev/null +++ b/home_linux/install_network_manager.yaml @@ -0,0 +1,29 @@ +--- +- name: Install the Network Manager service on the Raspberries + hosts: kubernetes + roles: + - common + become: yes + gather_facts: no + + tasks: + + - name: Install the Network Manager package + ansible.builtin.apt: + name: network-manager + state: present + update_cache: yes + + - name: Enable and start the Network Manager service + ansible.builtin.service: + name: NetworkManager + state: started + enabled: yes + + - name: Test that the Network Manager service is running + ansible.builtin.shell: nmcli g + register: nmcli_status + + - name: Print test results + ansible.builtin.debug: + var: nmcli_status["stdout_lines"] diff --git a/home_linux/install_nfs_client.yml b/home_linux/install_nfs_client.yml old mode 100644 new mode 100755 diff --git a/home_linux/install_nfs_server.yml b/home_linux/install_nfs_server.yml old mode 100644 new mode 100755 diff --git a/home_linux/k3s_stuff/install_k3s.yml b/home_linux/k3s_stuff/install_k3s.yml old mode 100644 new mode 100755 diff --git a/home_linux/k3s_stuff/remove_k3s.yml b/home_linux/k3s_stuff/remove_k3s.yml old mode 100644 new mode 100755 diff --git a/home_linux/k3s_stuff/set_hosts_file_for_k3s.yml b/home_linux/k3s_stuff/set_hosts_file_for_k3s.yml old mode 100644 new mode 100755 diff --git a/home_linux/k8s_stuff/disable_swap.yml b/home_linux/k8s_stuff/disable_swap.yml old mode 100644 new mode 100755 diff --git a/home_linux/k8s_stuff/install_microk8s.yml b/home_linux/k8s_stuff/install_microk8s.yml old mode 100644 new mode 100755 diff --git a/home_linux/k8s_stuff/remove_microk8s.yml b/home_linux/k8s_stuff/remove_microk8s.yml old mode 100644 new mode 100755 diff --git a/home_linux/reboot.yml b/home_linux/reboot.yml old mode 100644 new mode 100755 diff --git a/home_linux/roles/common/vars/main.yml b/home_linux/roles/common/vars/main.yml old mode 100644 new mode 100755 diff --git a/home_linux/shutdown.yml b/home_linux/shutdown.yml old mode 100644 new mode 100755 diff --git a/home_linux/update_apt.yml b/home_linux/update_apt.yml old mode 100644 new mode 100755 diff --git a/ios_devices/.vscode/settings.json b/ios_devices/.vscode/settings.json old mode 100644 new mode 100755 diff --git a/ios_devices/baguley_inventory.yml b/ios_devices/baguley_inventory.yml old mode 100644 new mode 100755 diff --git a/ios_devices/device_audit.yml b/ios_devices/device_audit.yml old mode 100644 new mode 100755 diff --git a/ios_devices/device_backup.yml b/ios_devices/device_backup.yml old mode 100644 new mode 100755 diff --git a/ios_devices/device_provisioning.yml b/ios_devices/device_provisioning.yml old mode 100644 new mode 100755 diff --git a/ios_devices/inventory.yml b/ios_devices/inventory.yml old mode 100644 new mode 100755 diff --git a/ios_devices/remove_user.yml b/ios_devices/remove_user.yml old mode 100644 new mode 100755 diff --git a/ios_devices/roles/common/vars/main.yml b/ios_devices/roles/common/vars/main.yml old mode 100644 new mode 100755 diff --git a/kubernetes/inventory.yml b/kubernetes/inventory.yml old mode 100644 new mode 100755 diff --git a/kubernetes/reboot.yml b/kubernetes/reboot.yml old mode 100644 new mode 100755 diff --git a/kubernetes/roles/common/tasks/main.yml b/kubernetes/roles/common/tasks/main.yml old mode 100644 new mode 100755 diff --git a/kubernetes/roles/common/vars/main.yml b/kubernetes/roles/common/vars/main.yml old mode 100644 new mode 100755 diff --git a/kubernetes/shutdown_k8s.yml b/kubernetes/shutdown_k8s.yml old mode 100644 new mode 100755 diff --git a/team-requests/kav-prefix-list/artifacts/prefix_list_audit.yml b/team-requests/kav-prefix-list/artifacts/prefix_list_audit.yml old mode 100644 new mode 100755 diff --git a/team-requests/kav-prefix-list/artifacts/prefix_list_update_workaround.yml b/team-requests/kav-prefix-list/artifacts/prefix_list_update_workaround.yml old mode 100644 new mode 100755 diff --git a/team-requests/kav-prefix-list/artifacts/route_map_audit.yml b/team-requests/kav-prefix-list/artifacts/route_map_audit.yml old mode 100644 new mode 100755 diff --git a/team-requests/kav-prefix-list/pl_inventory.yml b/team-requests/kav-prefix-list/pl_inventory.yml old mode 100644 new mode 100755 diff --git a/team-requests/kav-prefix-list/prefix_list.csv b/team-requests/kav-prefix-list/prefix_list.csv old mode 100644 new mode 100755 diff --git a/team-requests/kav-prefix-list/prefix_list_update.yml b/team-requests/kav-prefix-list/prefix_list_update.yml old mode 100644 new mode 100755 diff --git a/team-requests/kav-prefix-list/roles/common/vars/main.yml b/team-requests/kav-prefix-list/roles/common/vars/main.yml old mode 100644 new mode 100755 diff --git a/testing/inner.yml b/testing/inner.yml old mode 100644 new mode 100755 diff --git a/testing/variable-test.yml b/testing/variable-test.yml old mode 100644 new mode 100755 diff --git a/vmware/get_vcenter_information.yml b/vmware/get_vcenter_information.yml old mode 100644 new mode 100755 diff --git a/vmware/lab_inventory.yml b/vmware/lab_inventory.yml old mode 100644 new mode 100755 diff --git a/vmware/roles/common/vars/main.yml b/vmware/roles/common/vars/main.yml old mode 100644 new mode 100755