This file contains hidden or 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
--- | |
- name: set name, adjust /etc/hosts | |
hosts: all | |
become: yes | |
# order matters! | |
tasks: | |
- name: adjust /etc/hosts | |
replace: | |
path: /etc/hosts |
This file contains hidden or 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
--- | |
- name: set up docker & compose | |
hosts: docker | |
become: yes | |
tasks: | |
- name: update package index | |
apt: | |
name: "*" | |
state: latest |
This file contains hidden or 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
# /etc/fstab define share | |
//192.168.178.2/scans /reshare cifs uid=reuser,gid=reuser,credentials=/root/cred | |
# /root/cred put credentials for upstream SMBv2/3 server | |
username=upuser | |
password=uppassword | |
domain=example |
This file contains hidden or 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
#!/bin/bash | |
# | |
# example to run traefik in standalone mode on a | |
# linux host (or any other host supported by traefik) | |
# | |
# contribution to an article in | |
# c't magazine 19/21, Page 74 | |
# | |
# your work: | |
# - share port 80/443 by your router to this host |
OlderNewer