You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hi,
In my inventory file i have 3 server, I need to set the hostname including prefix1-3
web1
web2
web3
Inventory fie:
[web]
192.168.0.47
192.168.0.48
192.168.0.49
Playbook
- hosts:
- web
become: true
any_errors_fatal: true
tasks:
- name: update hostname
hostname:
name : "web ????"
Stefan Hornburg (Racke)
unread,
Nov 22, 2021, 3:19:04 AM11/22/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
On 22/11/2021 09:00, dudu.c...@gmail.com wrote:
> Hi,
> In my inventory file i have 3 server, I need to set the hostname including prefix1-3
>
> web1
> web2
> web3
>