Skip to content

Instantly share code, notes, and snippets.

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build file",
"type": "shell",
"command": "gfortran -o ${file}.exe ${file}",
"problemMatcher": [],
- hosts: localhost
vars:
result:
vpc:
cidr_block_association_set:
- id: block1
cidr_block: 192.168.122.0/24
cidr_block_state:
state: present
- id: block2
test playbook test_import_include.yml:
- hosts: localhost
gather_facts: false
vars:
interface: test_interface
test_import_include:
- name: "{{ interface }}"
state: up
type: ethernet
from __future__ import absolute_import, division, print_function
__metaclass__ = type
import os
import tempfile
from ansible_collections.ansible.posix.tests.unit.compat import unittest
from ansible_collections.ansible.posix.tests.unit.compat.mock import patch, MagicMock
# -*- coding: utf-8 -*-
# Copyright: (c) 2020, Rich Megginson <[email protected]>
# SPDX-License-Identifier: GPL-2.0-or-later
#
""" Unit tests for kernel_settings module """
from __future__ import absolute_import, division, print_function
__metaclass__ = type
Host 127.0.0.3
IdentitiesOnly yes
ansible-galaxy [core 2.13.1]
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/rmeggins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/rmeggins/linux-system-roles/podman/.tox/qemu-ansible-core-2.13/lib/python3.10/site-packages/ansible
ansible collection location = /home/rmeggins/.ansible/collections:/usr/share/ansible/collections
executable location = /home/rmeggins/linux-system-roles/podman/.tox/qemu-ansible-core-2.13/bin/ansible-galaxy
python version = 3.10.4 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)]
jinja version = 3.1.2
libyaml = True
Using /etc/ansible/ansible.cfg as config file

Changelog

[1.21.0-1] - 2022-07-28

  • firewall - add/delete/update services
    user defined services - add/delete/update
  • firewall - port_forward can be string or dict
  • firewall - support for firewall_config - gather firewall facts
vars:
vpn_connections:
- auth_method: psk
auto: start
# these common parameters are applied to the config of all hosts
shared_key_content: secure_vault_key
ike: aes256;sha512
esp: aes256;sha512
ikelifetime: 10h
salifetime: 8h
@richm
richm / gist:4ae0a36369ce7a7ad42b6ce5094230ff
Created October 6, 2022 14:25
output of vdostats on latest el9
pool1-vdopool-vpool :
version : 35
release version : 0
data blocks used : 52
overhead blocks used : 787526
logical blocks used : 2651
physical blocks : 2359296
logical blocks : 3145984
1K-blocks : 9437184
1K-blocks used : 3150312