On Wed, 11 May 2022, at 16:20, Cristian Cardoso wrote:
>
> But since the command doesn't support -y no -not-running-from-cron for
> the upgrade command, I believe everything is stalling on this question
> and the playbook has no proceeding and it stays on this question below:
>
> `The following c
I create this playbook:
- name: Applying major version upgrade
command: freebsd-update --not-running-from-cron upgrade -r {{ version }}
become: yes
tags:
- freebsd-upgrade
- name: Apply update installation
command: freebsd-update --not-running-from-cron install
become: yes
t
On 10/05/2022 17:46, Alan Somers wrote:
On Tue, May 10, 2022 at 9:08 AM Cristian Cardoso
wrote:
Hi
I have some FreeBSD servers in my machine park and I would like to perform the
version upgrade in an automated way with ansible.
In my example, I want to perform the upgrade from version 12.3
I currently update patches this way:
- name: Checking for updates on FreeBSD
command: freebsd-update fetch
when:
- ansible_distribution == "FreeBSD"
register: result_update
changed_when: "'No updates needed' not in result_update.stdout"
become: yes
tags:
- check-update
On Tue, May 10, 2022 at 9:08 AM Cristian Cardoso
wrote:
>
> Hi
>
> I have some FreeBSD servers in my machine park and I would like to perform
> the version upgrade in an automated way with ansible.
>
> In my example, I want to perform the upgrade from version 12.3 to 13, it is
> possible to run
Hi
I have some FreeBSD servers in my machine park and I would like to perform
the version upgrade in an automated way with ansible.
In my example, I want to perform the upgrade from version 12.3 to 13, it is
possible to run the upgrade with the command below:
freebsd-update --not-running-from-cr