From 52eece85e43e662d5a48fa00da03493fc560dd7d Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Wed, 31 Aug 2022 13:12:53 -0500 Subject: [PATCH] Fix more network role lint errors --- roles/network/README.md | 38 --------------------------------- roles/network/handlers/main.yml | 2 +- roles/network/tests/inventory | 2 -- roles/network/tests/test.yml | 5 ----- roles/network/vars/Ubuntu.yaml | 15 ------------- 5 files changed, 1 insertion(+), 61 deletions(-) delete mode 100644 roles/network/README.md delete mode 100644 roles/network/tests/inventory delete mode 100644 roles/network/tests/test.yml delete mode 100644 roles/network/vars/Ubuntu.yaml diff --git a/roles/network/README.md b/roles/network/README.md deleted file mode 100644 index 225dd44..0000000 --- a/roles/network/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -A brief description of the role goes here. - -Requirements ------------- - -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/roles/network/handlers/main.yml b/roles/network/handlers/main.yml index 2ecbab7..bc78393 100644 --- a/roles/network/handlers/main.yml +++ b/roles/network/handlers/main.yml @@ -1,3 +1,3 @@ --- - name: netplan apply - command: netplan apply + ansible.builtin.command: netplan apply diff --git a/roles/network/tests/inventory b/roles/network/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/network/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/network/tests/test.yml b/roles/network/tests/test.yml deleted file mode 100644 index cde8276..0000000 --- a/roles/network/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - roles/network \ No newline at end of file diff --git a/roles/network/vars/Ubuntu.yaml b/roles/network/vars/Ubuntu.yaml deleted file mode 100644 index 99001b9..0000000 --- a/roles/network/vars/Ubuntu.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -_network_systemd_networkd_available: yes -_network_systemd_resolved_available: yes - -_network_ifupdown_enabled: no -_network_netplan_enabled: no -_network_systemd_networkd_enabled: yes -_network_systemd_resolved_enabled: no -_network_resolv_conf_enabled: yes - -network_manage_ifupdown: no -network_manage_systemd_networkd: yes -network_manage_netplan: no - -# vim:ft=yaml.ansible: