Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ansible/roles/developer-rust/tasks/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,13 @@
# ============================================================
# Build dependencies for cargo tools that compile from source
# ============================================================
# rustc links through `cc`, and a clean cloud image ships without one: the
# first `cargo install` on a fresh Fedora fails at `linker cc not found`.

- name: Install cargo build dependencies (Ubuntu)
ansible.builtin.apt:
name:
- build-essential
- libssl-dev
- pkg-config
state: present
Expand All @@ -371,6 +374,7 @@
- name: Install cargo build dependencies (Fedora)
ansible.builtin.dnf:
name:
- gcc
- openssl-devel
- pkg-config
state: present
Expand Down
2 changes: 2 additions & 0 deletions ansible/tests/proxmox/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- name: Clone a base template into the test range
hosts: localhost
connection: local
become: false
gather_facts: false
vars:
snapshot: clean
Expand Down Expand Up @@ -215,6 +216,7 @@
- name: Stop and snapshot the clean state
hosts: localhost
connection: local
become: false
gather_facts: false
# Play vars do not cross plays; -e still overrides both.
vars:
Expand Down
1 change: 1 addition & 0 deletions ansible/tests/proxmox/delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- name: Delete a test VM
hosts: localhost
connection: local
become: false
gather_facts: false
module_defaults:
community.proxmox.proxmox_vm_info: &api
Expand Down
3 changes: 3 additions & 0 deletions ansible/tests/proxmox/reset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
hosts: localhost
connection: local
gather_facts: false
# ansible.cfg turns become on for every play; here it would write the
# inventory as root, 0600, unreadable by the user about to run against it.
become: false
vars:
start: true
module_defaults:
Expand Down
Loading