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
#!/bin/sh | |
# | |
# | |
# Change the host name according to DHCP settings. | |
# | |
# Copyright © 2014 Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org> | |
# Created: 2014-03-11 | |
# Last changed: 2014-12-03 00:22:50 | |
# | |
# This program is free software. It comes without any warranty, to |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# Copyright © 2019 Sébastien Gross | |
# Created: 2019-06-05 | |
# Last changed: 2019-06-05 15:31:13 | |
# This program is free software. It comes without any warranty, to | |
# the extent permitted by applicable law. You can redistribute it |
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
#!/usr/bin/env ansible-playbook -i localhost, | |
# Example on how to use json_query as asked by Hagen Bauer (@hbauer) | |
# https://twitter.com/hbauer/status/1366784668629139458 | |
# | |
# This requires jmespath python module (pip3 install jmespath). | |
# | |
# For further details have a look at: | |
# |