Proxmox add

This commit is contained in:
git
2024-01-22 09:40:37 +01:00
parent 4f8fc22666
commit a5a87518a4
4 changed files with 7 additions and 19 deletions

View File

@@ -1 +1,2 @@
ansible-playbook --ask-become-pass -i ~/.ansible/inventory playbook.yml ansible-playbook --ask-become-pass -i ~/.ansible/inventory playbook.yml
ansible-galaxy role init {role-to-create}

View File

@@ -1,14 +0,0 @@
---
- name: And now all running
hosts: mintotaur
vars:
user: warezjoe
host: ntb # desktop rpi ntb
roles:
- role: linux_config_init
- role: import_ssh_key # without sudo
- role: tools_for_command_line
- role: service_start
- role: gui_app_init
# - role: ansible-role-docker
# docker_users: "{{ user }}"

View File

@@ -10,7 +10,7 @@
fedora_ver: "{{ prefedora_ver.stdout }}" fedora_ver: "{{ prefedora_ver.stdout }}"
when: ansible_os_family == "RedHat" when: ansible_os_family == "RedHat"
- name: Add repo Discord repo for Fedora - name: Add repo Discord repo for (Rhel) Fedora
become: true become: true
ansible.builtin.dnf: ansible.builtin.dnf:
name: 'https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ fedora_ver }}.noarch.rpm' name: 'https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ fedora_ver }}.noarch.rpm'

View File

@@ -6,8 +6,9 @@
- sudoer_no_passwd.yml - sudoer_no_passwd.yml
- hostname_set.yml - hostname_set.yml
- git.yml - git.yml
- script_import.yml - create_warezjoe.yml
# - script_import.yml
- name: Set Pernament IP #- name: Set Pernament IP
ansible.builtin.include_tasks: set_perma_ip.yml # ansible.builtin.include_tasks: set_perma_ip.yml
when: host != 'ntb' # when: set_ip