This repository was archived by the owner on Mar 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +58
-1
lines changed Expand file tree Collapse file tree 6 files changed +58
-1
lines changed Original file line number Diff line number Diff line change 11* .retry
2+ * .vagrant
23* /__pycache__
34* .pyc
45/.python-version
Original file line number Diff line number Diff line change 1+ Vagrant . configure ( "2" ) do |config |
2+ # Debian 11
3+ config . vm . box = "debian/bookworm64"
4+ # Sync colletions folder
5+ config . vm . provider "virtualbox" do |provider |
6+ # Display the GUI when booting the machine
7+ provider . gui = true # this option does not exist on libvirt provider
8+
9+ # Install pip
10+ #config.vm.provision "shell", inline: "sudo apt update && sudo apt upgrade -y && apt install -y python3-pip"
11+ # Customize the amount of memory on the VM:
12+ provider . memory = "6000"
13+
14+ # Run playbook
15+ config . vm . provision "ansible" do |ansible |
16+ ansible . playbook = "playbook.yml"
17+ ansible . verbose = "vv"
18+ ansible . become = true
19+ ansible . ask_become_pass = true
20+ end
21+ end
22+ end
Original file line number Diff line number Diff line change 1+ [defaults]
2+ nocows = True
3+ roles_path = .:~/.ansible/roles
4+ timeout = 30
5+ interpreter_python = /usr/bin/python3
Original file line number Diff line number Diff line change 1- 2.6.0
1+ 2.6.1
Original file line number Diff line number Diff line change 1+ ---
2+ - name : Define hosts
3+ hosts : all
4+ become : true
5+
6+ pre_tasks :
7+ - name : Update apt cache and install pip.
8+ ansible.builtin.apt :
9+ name : python3-pip
10+ update_cache : true
11+ cache_valid_time : 600
12+ when : ansible_os_family == 'Debian'
13+
14+ # # https://askubuntu.com/questions/1428181/module-lib-has-no-attribute-x509-v-flag-cb-issuer-check
15+ # - name: Update pyOpenSSL.
16+ # ansible.builtin.pip:
17+ # name: pyOpenSSL
18+ # extra_args: --upgrade
19+
20+ roles :
21+ - role : .
Original file line number Diff line number Diff line change 22- name : Load custom facts
33 ansible.builtin.import_tasks : custom_facts.yml
44
5+ - name : Debug Facts
6+ ansible.builtin.debug :
7+ var : ansible_distribution_release
8+
9+ - name : Debug Facts2
10+ ansible.builtin.debug :
11+ var : pipx_path
12+
513- name : Install pyenv
614 ansible.builtin.import_role :
715 name : staticdev.pyenv
You can’t perform that action at this time.
0 commit comments