From 0b1de19f3ad4c0b3b0e4930ac8e4bb6cfa732605 Mon Sep 17 00:00:00 2001 From: Arios Date: Sun, 4 Oct 2020 19:18:25 +0200 Subject: [PATCH 1/4] Add generated collections to gitingore --- .gitignore | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1b99c7d..13985a1 100644 --- a/.gitignore +++ b/.gitignore @@ -137,4 +137,7 @@ dmypy.json .pyre/ # ---> Ansible -*.retry \ No newline at end of file +*.retry + +# Generated collection +ariosthephoenix-proxmox-*.tar.gz From 9ec8dfc66cf8d3ee0f38937278128aaed3bf1ca8 Mon Sep 17 00:00:00 2001 From: Arios Date: Sun, 4 Oct 2020 19:19:51 +0200 Subject: [PATCH 2/4] Fixed documentation for playbooks not including gather_hosts=no --- roles/lxc_container/README.md | 2 ++ roles/lxc_container_to_ostemplate/README.md | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/roles/lxc_container/README.md b/roles/lxc_container/README.md index 5f91874..9ccf085 100644 --- a/roles/lxc_container/README.md +++ b/roles/lxc_container/README.md @@ -42,6 +42,7 @@ Generic example: ``` - hosts: all + gather_facts: no roles: - lxc_container: # This role will connect to this PVE host for various tasks related to container setup @@ -92,6 +93,7 @@ all: # This will create a set of containers, with each container being a member of the `containers` group - hosts: containers serial: 1 # Needed to prevent race conditions + gather_facts: no roles: - name: lxc_container ``` diff --git a/roles/lxc_container_to_ostemplate/README.md b/roles/lxc_container_to_ostemplate/README.md index 0abe493..82fd4f6 100644 --- a/roles/lxc_container_to_ostemplate/README.md +++ b/roles/lxc_container_to_ostemplate/README.md @@ -27,6 +27,7 @@ Example Playbook ``` - hosts: all + gather_facts: no roles: - role: lxc_container_to_ostemplate pve_host: mypvehost.example.com @@ -56,6 +57,15 @@ all: pve_host: mypvehost.example.com ... ``` +Playbook: +``` + # This will generate templates of containers, with each container being a member of the `containers` group +- hosts: containers + serial: 1 # Needed to prevent race conditions + gather_facts: no + roles: + - name: lxc_container_to_ostemplate +``` License ------- From 5885a5a82e8c3724cca9b9a99c2bb95de2d68312 Mon Sep 17 00:00:00 2001 From: Arios Date: Thu, 8 Oct 2020 14:08:43 +0200 Subject: [PATCH 3/4] fix email address --- README.md | 6 +++--- galaxy.yml | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index de64d9a..338fb6d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Ansible Collection - ariosthephoenix.proxmox +# Ansible Collection - maxhoesel.proxmox A collection for managing Proxmox VE hosts and their guests. @@ -19,7 +19,7 @@ Several roles in this collection require the `proxmoxer` and `requests` Python m - Installation with `pip` (venv recommended): `pip3 install proxomxer requests` -To install this role: `ansible-galaxy collection install ariosthephoenix.proxmox` +To install this role: `ansible-galaxy collection install maxhoesel.proxmox` # License @@ -27,4 +27,4 @@ GNU GPL3 or later # Author -Arios +Max Hösel diff --git a/galaxy.yml b/galaxy.yml index 4b6e586..72dc83e 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -3,7 +3,7 @@ # The namespace of the collection. This can be a company/brand/organization or product namespace under which all # content lives. May only contain alphanumeric lowercase characters and underscores. Namespaces cannot start with # underscores or numbers and cannot contain consecutive underscores -namespace: ariosthephoenix +namespace: maxhoesel # The name of the collection. Has the same character restrictions as 'namespace' name: proxmox @@ -17,7 +17,7 @@ readme: README.md # A list of the collection's content authors. Can be just the name or in the format 'Full Name (url) # @nicks:irc/im.site#channel' authors: -- Arios +- Max Hösel ### OPTIONAL but strongly recommended @@ -49,16 +49,16 @@ tags: dependencies: {} # The URL of the originating SCM repository -repository: https://github.com/AriosThePhoenix/ansible-collection-proxmox +repository: https://github.com/maxhoesel/ansible-collection-proxmox # The URL to any online docs -documentation: https://github.com/AriosThePhoenix/ansible-collection-proxmox +documentation: https://github.com/maxhoesel/ansible-collection-proxmox # The URL to the homepage of the collection/project -homepage: https://github.com/AriosThePhoenix/ansible-collection-proxmox +homepage: https://github.com/maxhoesel/ansible-collection-proxmox # The URL to the collection issue tracker -issues: https://github.com/AriosThePhoenix/ansible-collection-proxmox/issues +issues: https://github.com/maxhoesel/ansible-collection-proxmox/issues build_ignore: - .venv From ad432c39b4dc5ebda624a2da3dddb687d4b5dba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20H=C3=B6sel?= Date: Mon, 12 Oct 2020 23:07:55 +0200 Subject: [PATCH 4/4] bump version number --- galaxy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galaxy.yml b/galaxy.yml index 72dc83e..6519f3d 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -9,7 +9,7 @@ namespace: maxhoesel name: proxmox # The version of the collection. Must be compatible with semantic versioning -version: 2.0.0 +version: 2.0.1 # The path to the Markdown (.md) readme file. This path is relative to the root of the collection readme: README.md