Compare commits
No commits in common. "78c13e41a64b83602ea4e1e9471ff3f8a912ba65" and "39a18a603d7ba3892ed0bc06c9839fee47bd37df" have entirely different histories.
78c13e41a6
...
39a18a603d
@ -1,9 +0,0 @@
|
|||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: ansible
|
|
||||||
steps:
|
|
||||||
- name: ansible-lint
|
|
||||||
image: nixos/nix:2.11.0
|
|
||||||
commands:
|
|
||||||
- nix run -c ansible-lint ansible
|
|
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
## Ansible Control Node Setup
|
## Ansible Control Node Setup
|
||||||
|
|
||||||
Run in repository root to use `ansible-*` commands:
|
In a Python 3 environment (perhaps a venv):
|
||||||
|
|
||||||
```
|
```
|
||||||
nix run -c $SHELL
|
pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
## `misc.yaml`
|
## `misc.yaml`
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
[defaults]
|
[defaults]
|
||||||
inventory = ./inventory
|
inventory = ./inventory
|
||||||
roles_path = ./roles
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
- name: Upload docker configuration
|
- name: Upload docker configuration
|
||||||
become: yes
|
become: yes
|
||||||
copy:
|
copy:
|
||||||
src: ../../docker
|
src: ../docker
|
||||||
dest: /etc/pbri
|
dest: /etc/pbri
|
||||||
# Files should inaccessible to non-root users.
|
# Files should inaccessible to non-root users.
|
||||||
mode: u=rw,g=,o=
|
mode: u=rw,g=,o=
|
13
default.nix
13
default.nix
@ -1,13 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs ? import <nixpkgs> {}
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
paths = with pkgs; [
|
|
||||||
ansible
|
|
||||||
ansible-lint
|
|
||||||
];
|
|
||||||
in
|
|
||||||
pkgs.buildEnv {
|
|
||||||
name = "infrastructure-env";
|
|
||||||
paths = paths;
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user