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
cjac@sh0:~/ansible$ cat apt-upgrade.yml | |
--- | |
- name: apt upgrade | |
apt: | |
hosts: all | |
upgrade: dist | |
update_cache: True | |
cjac@sh0:~/ansible$ ansible-playbook apt-upgrade.yml | |
ERROR! 'apt' is not a valid attribute for a Play |
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
cjac@sh0:~/ansible$ cat apt-upgrade.yml | |
- apt: name=* upgrade=dist update_cache=True | |
cjac@sh0:~/ansible$ ansible-playbook apt-upgrade.yml | |
ERROR! 'apt' is not a valid attribute for a Play | |
The error appears to be in '/home/cjac/ansible/apt-upgrade.yml': line 1, column 3, but may | |
be elsewhere in the file depending on the exact syntax problem. | |
The offending line appears to be: |
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
cjac@sh0:~$ sudo fdisk -l /dev/vda | |
[sudo] password for cjac: | |
Disk /dev/vda: 4.3 GiB, 4617928704 bytes, 9019392 sectors | |
Units: sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 512 bytes | |
I/O size (minimum/optimal): 512 bytes / 512 bytes | |
Disklabel type: dos | |
Disk identifier: 0x4401fcaa | |
Device Boot Start End Sectors Size Id Type |
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
root@mini:~# nft list table ip filter | |
table ip filter { | |
chain INPUT { | |
type filter hook input priority 0; policy accept; | |
} | |
chain FORWARD { | |
type filter hook forward priority 0; policy accept; | |
} |
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
mini: | |
root@mini:~# iptables-legacy-save | |
root@mini:~# nft list tables | |
table ip filter | |
table ip6 filter | |
table bridge filter | |
tiny: | |
root@tiny:~# iptables-legacy-save | |
root@tiny:~# nft list tables |
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
mini: | |
2020-08-02 09:45:20.110 7f70f6c99700 -1 mon.1@-1(probing) e0 get_health_metrics reporting 2 slow ops, oldest is log(1 entries from seq 1 at 2020-08-02 09:34:52.775194) | |
2020-08-02 09:45:20.370 7f70f4494700 1 mon.1@-1(probing) e0 adding peer v1:100.64.79.64:6789/0 to list of hints | |
2020-08-02 09:45:21.293 7f70f4494700 1 mon.1@-1(probing) e0 adding peer v1:100.64.79.123:6789/0 to list of hints | |
2020-08-02 09:45:22.373 7f70f4494700 1 mon.1@-1(probing) e0 adding peer v1:100.64.79.64:6789/0 to list of hints | |
2020-08-02 09:45:23.293 7f70f4494700 1 mon.1@-1(probing) e0 adding peer v1:100.64.79.123:6789/0 to list of hints | |
2020-08-02 09:45:24.373 7f70f4494700 1 mon.1@-1(probing) e0 adding peer v1:100.64.79.64:6789/0 to list of hints | |
2020-08-02 09:45:25.109 7f70f6c99700 -1 mon.1@-1(probing) e0 get_health_metrics reporting 2 slow ops, oldest is log(1 entries from seq 1 at 2020-08-02 09:34:52.775194) | |
2020-08-02 09:45:25.293 7f70f4494700 1 mon.1@-1(probing) e0 adding peer v1:100.64.79.123:6789/0 to list of h |
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
# Generated by xtables-save v1.8.3 on Sun Aug 2 09:40:13 2020 | |
*filter | |
:INPUT ACCEPT [0:0] | |
:FORWARD ACCEPT [0:0] | |
:OUTPUT ACCEPT [0:0] | |
-A INPUT -i virbr0 -p udp -m udp --dport 53 -j ACCEPT | |
-A INPUT -i virbr0 -p tcp -m tcp --dport 53 -j ACCEPT | |
-A INPUT -i virbr0 -p udp -m udp --dport 67 -j ACCEPT | |
-A INPUT -i virbr0 -p tcp -m tcp --dport 67 -j ACCEPT | |
-A FORWARD -d 192.168.122.0/24 -o virbr0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT |
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
root@mini:~# iptables-save | |
# Generated by xtables-save v1.8.2 on Sun Aug 2 09:39:50 2020 | |
*filter | |
:INPUT ACCEPT [0:0] | |
:FORWARD ACCEPT [0:0] | |
:OUTPUT ACCEPT [0:0] | |
COMMIT | |
# Completed on Sun Aug 2 09:39:50 2020 |
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
[global] | |
; use cephx or none | |
auth supported = cephx | |
keyring = /etc/ceph/keyring.admin | |
fsid = 37ff2273-d55b-48ca-9e5e-89a2951c8197 | |
mon initial members = mini, tiny, ogion | |
mon host = 100.64.79.122, 100.64.79.123, 100.64.70.64 | |
public network = 100.64.79.0/24 | |
auth cluster required = cephx | |
auth service required = cephx |
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": "1", | |
"rank": -1, | |
"state": "probing", | |
"election_epoch": 0, | |
"quorum": [], | |
"features": { | |
"required_con": "0", | |
"required_mon": [], | |
"quorum_con": "0", |