This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM gcc:10-buster | |
RUN apt update \ | |
&& apt install git \ | |
&& rm -rf /var/cache/apt \ | |
&& git clone https://github.com/solusipse/fiche \ | |
&& make \ | |
&& make install | |
CMD ["/usr/local/bin/fiche", "-d", "scratch.althahosting.com", "-o", "/tmp/log"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This creates an ansible user that will only be used the ansible scripts. The idea is only you have the private key to get | |
# into the user, which keeps it 100% secure. | |
- hosts: "t730" | |
become: yes | |
tasks: | |
- name: Create an ansible user | |
user: | |
name: ansible | |
state: present | |
shell: /bin/bash |