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
--- /opt/stack/lib/python2.6/site-packages/stack/commands/load/storage/partition/imp_load_default.py 2016-08-03 16:00:01.141946623 -0700 | |
+++ /opt/stack/lib/python2.6/site-packages/stack/commands/load/storage/partition/imp_load_default.py.new 2016-08-03 15:59:40.271227621 -0700 | |
@@ -196,7 +196,7 @@ | |
type_dict[type_key] = device_arr | |
# Regexp to match Hard disk labels | |
- hd_label_regexp = '([shv]d[a-z]+)|(md[0-9]+)' | |
+ hd_label_regexp = '(x?[shv]d[a-z]+)|(md[0-9]+)' | |
hd_regexp = re.compile(hd_label_regexp) | |
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
# I have all my hosts' public keys in a local directory ./keys/hosts/*pub | |
# I want to use the known_hosts module to add these to 'server' | |
# I'd prefer to just add the key to that local dir, and ansible just glob it up automatically | |
- hosts: server | |
vars: | |
# this is the part I'd like to do automatically; | |
# just loop over everything in "keys/hosts/" without explicitly repeating each file | |
ssh_pub_keys: | |
- name: host1 |