Hello Kai,
yes i set the password the same as the username.
And thanx for your help.
Your solution works for me.
Am Samstag, 19. Januar 2019 09:23:47 UTC+1 schrieb Kai Stian Olstad:
>
> On Saturday, 19 January 2019 00:54:36 CET Henrik Schuetze wrote:
> > Hello,
> >
&g
Hello,
i want to create users on a centos system. the users use rsa keys to
authenticate on the linux.
They have an PAM token to connect on the maria db on the system.
And with PAM they need an Linux password and the token to login to the
maria.
The Users need no password to connect to the cent
no. this doesnt work, because the shell command only support one "<"
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to ansible-project+unsubscr...@googlegroups
yes i see two different dates because this.
my solution is:
in \tasks\main.yml put in line 2:
- include: set_facts.yml
in \tasks\set_facts.yml
- set_fact:
file_date: "{{ lookup('pipe','date +%Y-%m-%d-%H-%M-%S') }}"
cacheable: true
that worked for me.
Thanx for your help
Am Dienstag
i want to create an backup with Backup_ so i use:
defaults\main.yml
file_date: "{{ lookup('pipe','date +%Y-%m-%d-%H-%M-%S') }}"
and then i want to transfer the file.
But between backup and transfer the time has changed... so my transfer goes
wrong
What can i do ?
--
You received this messag
i want to use a command like:
read CURRENT_LOG CURRENT_POS < <( mysql -BNe "SHOW MASTER STATUS"); echo
CURRENT_LOG=$CURRENT_LOG CURRENT_POS=$CURRENT_POS
(credits:
https://dba.stackexchange.com/questions/34934/how-to-retrieve-master-log-position-and-master-log-file-in-shell-script)
But ansible
2018 15:29:00 UTC+2 schrieb Jonathan Lozada De La
Matta:
>
> Do one host first then the other if you are doing this manually. If you
> are trying to use ansible to exactly do this steps then use the user module
> and authorized_key
>
> On Tue, Aug 21, 2018 at 9:24 AM Henrik
Matta:
>
> what do you mean? hard code what exactly?
>
> On Tue, Aug 21, 2018 at 9:13 AM Henrik Schuetze > wrote:
>
>> thanx. but i need to address the other host. And i dont want to hard code
>> the ip adress in this task
>>
>>
>>
>>
>> Am
thanx. but i need to address the other host. And i dont want to hard code
the ip adress in this task
Am Dienstag, 21. August 2018 14:39:30 UTC+2 schrieb Henrik Schuetze:
>
> Hi,
>
> i want to enable ssh between two linux hosts.
> i generate the ssh key on both hosts.
> and
Hi,
i want to enable ssh between two linux hosts.
i generate the ssh key on both hosts.
and then i need to add the keys on the other servers respectively
Does anyone has a ready solution for that?
greetings
Henrik
--
You received this message because you are subscribed to the Google Groups
"
Thanx, i will give it a try.
Am Freitag, 10. August 2018 11:09:44 UTC+2 schrieb Henrik Schuetze:
>
> For a replication project i have to dynamic create an .sql for execute
> with mariadb.
> i have two hosts (A and B) in my host variables, both with name, ip and ID.
>
> i th
For a replication project i have to dynamic create an .sql for execute with
mariadb.
i have two hosts (A and B) in my host variables, both with name, ip and ID.
i think about create a local file, copy it to the destination hosts and
then ?
i need to put the ip address from Server A in the file f
Thanx.
I have found an other way. The my.cnf comes from me. As a template.
I put a field with the server id into my server variables, and refer it in
the template.
Server:
default_ip: 127.0.0.1
ansible_ssh_host: 127.0.0.1
mysql_db_id : 7
and in my template i say:
server-id = {{ my
Hi
i want to create a mariaDB active - active replication. And so i need to
modify the my.cnf with ansible.
I have two hosts both are defined undser the host variables with:
File for host 1:
default_ip: 127.0.0.1
ansible_ssh_host: 127.0.0.1
host_id : 7
File for host 2:
default_ip: 127.0.0.2
a
14 matches
Mail list logo