Merge "Split user create and ssh key generation"
This commit is contained in:
commit
ce95b2669e
@ -13,6 +13,14 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Generate the keystone system user ssh key
|
||||
user:
|
||||
name: "{{ keystone_system_user_name }}"
|
||||
generate_ssh_key: "yes"
|
||||
delegate_to: "{{ item }}"
|
||||
with_items: "{{ ansible_play_hosts }}"
|
||||
when: "inventory_hostname == ansible_play_hosts[0]"
|
||||
|
||||
- name: Retrieve default configuration files
|
||||
uri:
|
||||
url: "{{ item }}"
|
||||
|
@ -57,7 +57,6 @@
|
||||
system: "yes"
|
||||
createhome: "yes"
|
||||
home: "{{ keystone_system_user_home }}"
|
||||
generate_ssh_key: "yes"
|
||||
delegate_to: "{{ item }}"
|
||||
with_items: "{{ ansible_play_hosts }}"
|
||||
when: "inventory_hostname == ansible_play_hosts[0]"
|
||||
|
Loading…
x
Reference in New Issue
Block a user