Merge "Split user create and ssh key generation"

This commit is contained in:
Jenkins 2017-06-22 21:34:10 +00:00 committed by Gerrit Code Review
commit ce95b2669e
2 changed files with 8 additions and 1 deletions

View File

@ -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 }}"

View File

@ -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]"